aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/GatorProtocol.java
diff options
context:
space:
mode:
authorninioe <ninioe@gmail.com>2016-08-04 09:51:40 +0300
committerninioe <ninioe@gmail.com>2016-08-04 09:51:40 +0300
commitb2613805e5de4b7d3755b063ad76d737e713616f (patch)
tree726c0c6effdeced9903b6b26ef0480047d2d179c /src/org/traccar/protocol/GatorProtocol.java
parent6f32f4a9460ff3be2823d7a133659d29bf057237 (diff)
parent41668cae9763a523c775a8a998620fe286176c9e (diff)
downloadtrackermap-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/GatorProtocol.java')
-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));
}
});