aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-08-04 06:52:17 +0300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-08-04 06:52:17 +0300
commitb6f82f2b3894df234d528a5feb303f81d3620259 (patch)
tree81fe3732efd2586238408d84aed2735c2cb2eff4
parent5ba7cf7728fbb807df7d7a98cb2a913be6c1d0f6 (diff)
downloadtraccar-server-b6f82f2b3894df234d528a5feb303f81d3620259.tar.gz
traccar-server-b6f82f2b3894df234d528a5feb303f81d3620259.tar.bz2
traccar-server-b6f82f2b3894df234d528a5feb303f81d3620259.zip
Fix Gator frame decoder params
-rw-r--r--src/org/traccar/protocol/GatorProtocol.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/protocol/GatorProtocol.java b/src/org/traccar/protocol/GatorProtocol.java
index 3776bcfd3..3d899fa1f 100644
--- a/src/org/traccar/protocol/GatorProtocol.java
+++ b/src/org/traccar/protocol/GatorProtocol.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2015 Anton Tananaev (anton.tananaev@gmail.com)
+ * Copyright 2015 - 2016 Anton Tananaev (anton.tananaev@gmail.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -35,7 +35,7 @@ public class GatorProtocol extends BaseProtocol {
serverList.add(new TrackerServer(new ServerBootstrap(), this.getName()) {
@Override
protected void addSpecificHandlers(ChannelPipeline pipeline) {
- pipeline.addLast("frameDecoder", new LengthFieldBasedFrameDecoder(1024, 3, 2, 1, 0));
+ pipeline.addLast("frameDecoder", new LengthFieldBasedFrameDecoder(1024, 3, 2));
pipeline.addLast("objectDecoder", new GatorProtocolDecoder(GatorProtocol.this));
}
});