diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2020-02-02 15:55:32 -0800 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2020-02-02 15:55:32 -0800 |
commit | c6ce16f71d3cb8c04c080ebd57c5dd53e2b9229a (patch) | |
tree | 45715cb7df09e78cc3cff40744f4aa938cd4099a /src/main/java/org | |
parent | ee1dbcf048a922b6023b0714989b454b7dfe9587 (diff) | |
download | trackermap-server-c6ce16f71d3cb8c04c080ebd57c5dd53e2b9229a.tar.gz trackermap-server-c6ce16f71d3cb8c04c080ebd57c5dd53e2b9229a.tar.bz2 trackermap-server-c6ce16f71d3cb8c04c080ebd57c5dd53e2b9229a.zip |
Fix unit tests
Diffstat (limited to 'src/main/java/org')
-rw-r--r-- | src/main/java/org/traccar/protocol/Arnavi4FrameDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/Arnavi4FrameDecoder.java b/src/main/java/org/traccar/protocol/Arnavi4FrameDecoder.java index fae2d3fde..6a6f820b0 100644 --- a/src/main/java/org/traccar/protocol/Arnavi4FrameDecoder.java +++ b/src/main/java/org/traccar/protocol/Arnavi4FrameDecoder.java @@ -51,7 +51,7 @@ public class Arnavi4FrameDecoder extends BaseFrameDecoder { while (pos + PACKET_WRAPPER_LENGTH < buf.readableBytes() && buf.getByte(pos) != PACKAGE_END_SIGN) { - int dataLength = buf.getUnsignedShort(pos + 1); + int dataLength = buf.getUnsignedShortLE(pos + 1); pos += PACKET_WRAPPER_LENGTH + dataLength; } |