aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-07-29 15:25:14 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-07-29 15:25:14 +1200
commitc534819d12b984e845f41a95efa3f0ef7b6ebbe6 (patch)
tree4a356ea66b7a5256c4ce701d35af11841b1f3dd0 /src/org/traccar/protocol
parent7dbd1a5ac3940de89c84410859aa1bebeabda5d1 (diff)
downloadtrackermap-server-c534819d12b984e845f41a95efa3f0ef7b6ebbe6.tar.gz
trackermap-server-c534819d12b984e845f41a95efa3f0ef7b6ebbe6.tar.bz2
trackermap-server-c534819d12b984e845f41a95efa3f0ef7b6ebbe6.zip
Fix Cityeasy frame decoder
Diffstat (limited to 'src/org/traccar/protocol')
-rw-r--r--src/org/traccar/protocol/CityeasyProtocol.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/CityeasyProtocol.java b/src/org/traccar/protocol/CityeasyProtocol.java
index 849b96a0c..69f7ad5ac 100644
--- a/src/org/traccar/protocol/CityeasyProtocol.java
+++ b/src/org/traccar/protocol/CityeasyProtocol.java
@@ -34,7 +34,7 @@ public class CityeasyProtocol extends BaseProtocol {
serverList.add(new TrackerServer(new ServerBootstrap(), this.getName()) {
@Override
protected void addSpecificHandlers(ChannelPipeline pipeline) {
- pipeline.addLast("frameDecoder", new LengthFieldBasedFrameDecoder(1024, 2, 2, -2, 0));
+ pipeline.addLast("frameDecoder", new LengthFieldBasedFrameDecoder(1024, 2, 2, -4, 0));
pipeline.addLast("objectDecoder", new CityeasyProtocolDecoder(CityeasyProtocol.this));
}
});