diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2021-01-18 21:56:08 -0800 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2021-01-18 21:56:08 -0800 |
commit | 889fabc6ca7f7bc8d744af1f9184d43b76744478 (patch) | |
tree | 8c02a905217a509e3b8259ea981e5d711b6ef2a6 /src | |
parent | 430607c1b34cd2b07afa8f49b44fb72f99fc663f (diff) | |
download | trackermap-server-889fabc6ca7f7bc8d744af1f9184d43b76744478.tar.gz trackermap-server-889fabc6ca7f7bc8d744af1f9184d43b76744478.tar.bz2 trackermap-server-889fabc6ca7f7bc8d744af1f9184d43b76744478.zip |
Fix frame decoder
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/org/traccar/protocol/DolphinProtocol.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/DolphinProtocol.java b/src/main/java/org/traccar/protocol/DolphinProtocol.java index 83c127940..07c827e18 100644 --- a/src/main/java/org/traccar/protocol/DolphinProtocol.java +++ b/src/main/java/org/traccar/protocol/DolphinProtocol.java @@ -28,7 +28,7 @@ public class DolphinProtocol extends BaseProtocol { addServer(new TrackerServer(false, getName()) { @Override protected void addProtocolHandlers(PipelineBuilder pipeline) { - pipeline.addLast(new LengthFieldBasedFrameDecoder(ByteOrder.LITTLE_ENDIAN, 4096, 20, 4, 0, 0, true)); + pipeline.addLast(new LengthFieldBasedFrameDecoder(ByteOrder.LITTLE_ENDIAN, 4096, 20, 4, 4, 0, true)); pipeline.addLast(new DolphinProtocolDecoder(DolphinProtocol.this)); } }); |