diff options
author | ninioe <ninioe@gmail.com> | 2016-08-04 09:51:40 +0300 |
---|---|---|
committer | ninioe <ninioe@gmail.com> | 2016-08-04 09:51:40 +0300 |
commit | b2613805e5de4b7d3755b063ad76d737e713616f (patch) | |
tree | 726c0c6effdeced9903b6b26ef0480047d2d179c /src/org/traccar/protocol/TzoneProtocol.java | |
parent | 6f32f4a9460ff3be2823d7a133659d29bf057237 (diff) | |
parent | 41668cae9763a523c775a8a998620fe286176c9e (diff) | |
download | trackermap-server-b2613805e5de4b7d3755b063ad76d737e713616f.tar.gz trackermap-server-b2613805e5de4b7d3755b063ad76d737e713616f.tar.bz2 trackermap-server-b2613805e5de4b7d3755b063ad76d737e713616f.zip |
Merge remote-tracking branch 'refs/remotes/tananaev/master'
Diffstat (limited to 'src/org/traccar/protocol/TzoneProtocol.java')
-rw-r--r-- | src/org/traccar/protocol/TzoneProtocol.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/TzoneProtocol.java b/src/org/traccar/protocol/TzoneProtocol.java index 2d98e3f79..fcf673a57 100644 --- a/src/org/traccar/protocol/TzoneProtocol.java +++ b/src/org/traccar/protocol/TzoneProtocol.java @@ -34,7 +34,7 @@ public class TzoneProtocol extends BaseProtocol { serverList.add(new TrackerServer(new ServerBootstrap(), this.getName()) { @Override protected void addSpecificHandlers(ChannelPipeline pipeline) { - pipeline.addLast("frameDecoder", new LengthFieldBasedFrameDecoder(256, 2, 2)); + pipeline.addLast("frameDecoder", new LengthFieldBasedFrameDecoder(256, 2, 2, 2, 0)); pipeline.addLast("objectDecoder", new TzoneProtocolDecoder(TzoneProtocol.this)); } }); |