aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/ContinentalProtocol.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-04-17 00:34:04 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2018-04-17 09:34:25 +1200
commitfb4f041b75d5a8e7630dccf3dbd67840d8417629 (patch)
tree523def5b40ffc9e8026d83e03db05bbcd4dbf5a5 /src/org/traccar/protocol/ContinentalProtocol.java
parent171896fdbaa498fea269a5c163617c29a66c722b (diff)
downloadtrackermap-server-fb4f041b75d5a8e7630dccf3dbd67840d8417629.tar.gz
trackermap-server-fb4f041b75d5a8e7630dccf3dbd67840d8417629.tar.bz2
trackermap-server-fb4f041b75d5a8e7630dccf3dbd67840d8417629.zip
Update Continental protocol
Diffstat (limited to 'src/org/traccar/protocol/ContinentalProtocol.java')
-rw-r--r--src/org/traccar/protocol/ContinentalProtocol.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/ContinentalProtocol.java b/src/org/traccar/protocol/ContinentalProtocol.java
index e2b1226cf..5f43a51f7 100644
--- a/src/org/traccar/protocol/ContinentalProtocol.java
+++ b/src/org/traccar/protocol/ContinentalProtocol.java
@@ -34,7 +34,7 @@ public class ContinentalProtocol extends BaseProtocol {
serverList.add(new TrackerServer(new ServerBootstrap(), getName()) {
@Override
protected void addSpecificHandlers(ChannelPipeline pipeline) {
- pipeline.addLast("frameDecoder", new LengthFieldBasedFrameDecoder(1024, 2, 2));
+ pipeline.addLast("frameDecoder", new LengthFieldBasedFrameDecoder(1024, 2, 2, -4, 0));
pipeline.addLast("objectDecoder", new ContinentalProtocolDecoder(ContinentalProtocol.this));
}
});