aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2023-11-03 07:30:17 -0700
committerGitHub <noreply@github.com>2023-11-03 07:30:17 -0700
commitcf01dea0bd1ddb1cb9df402a4ce079cf5d9df0bd (patch)
tree3d14c17a30f4ccd04cb51cdb903f0bdeafc3b4c6
parent38bea83f8d52675b1d211d972ac419fb208d198b (diff)
downloadtrackermap-server-cf01dea0bd1ddb1cb9df402a4ce079cf5d9df0bd.tar.gz
trackermap-server-cf01dea0bd1ddb1cb9df402a4ce079cf5d9df0bd.tar.bz2
trackermap-server-cf01dea0bd1ddb1cb9df402a4ce079cf5d9df0bd.zip
Update Positrex to use UDP
-rw-r--r--src/main/java/org/traccar/protocol/PositrexProtocol.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/PositrexProtocol.java b/src/main/java/org/traccar/protocol/PositrexProtocol.java
index 67b8f2189..5cf389fbe 100644
--- a/src/main/java/org/traccar/protocol/PositrexProtocol.java
+++ b/src/main/java/org/traccar/protocol/PositrexProtocol.java
@@ -25,7 +25,7 @@ public class PositrexProtocol extends BaseProtocol {
@Inject
public PositrexProtocol(Config config) {
- addServer(new TrackerServer(config, getName(), false) {
+ addServer(new TrackerServer(config, getName(), true) {
@Override
protected void addProtocolHandlers(PipelineBuilder pipeline, Config config) {
pipeline.addLast(new PositrexProtocolDecoder(PositrexProtocol.this));