diff options
author | Evgeny S Maksimov <me@vragam.net> | 2019-01-29 22:17:51 +0300 |
---|---|---|
committer | Evgeny S Maksimov <me@vragam.net> | 2019-01-29 22:17:51 +0300 |
commit | f68362485cf88d7deae178010c168124bc1fdba8 (patch) | |
tree | d1517ac4e8f8cfea40c432124e5603aae1465225 /src/org | |
parent | e9d77d16a99874ef4c5eb44dc15994811d724b9d (diff) | |
download | trackermap-server-f68362485cf88d7deae178010c168124bc1fdba8.tar.gz trackermap-server-f68362485cf88d7deae178010c168124bc1fdba8.tar.bz2 trackermap-server-f68362485cf88d7deae178010c168124bc1fdba8.zip |
Fix comment
Diffstat (limited to 'src/org')
-rw-r--r-- | src/org/traccar/protocol/NavisProtocolDecoder.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/protocol/NavisProtocolDecoder.java b/src/org/traccar/protocol/NavisProtocolDecoder.java index f6fa75c58..92d458559 100644 --- a/src/org/traccar/protocol/NavisProtocolDecoder.java +++ b/src/org/traccar/protocol/NavisProtocolDecoder.java @@ -588,7 +588,7 @@ public class NavisProtocolDecoder extends BaseProtocolDecoder { flexProtocolVersion = (byte) buf.readUnsignedByte(); flexStructVersion = (byte) buf.readUnsignedByte(); - if ((flexProtocolVersion == (byte) 0x0A || flexProtocolVersion == (byte) 0x14) + if ((flexProtocolVersion == (byte) 0x0A || flexProtocolVersion == (byte) 0x14) && (flexStructVersion == (byte) 0x0A || flexStructVersion == (byte) 0x14)) { flexBitfieldDataSize = buf.readUnsignedByte(); @@ -605,7 +605,7 @@ public class NavisProtocolDecoder extends BaseProtocolDecoder { } } } else { - // Prepare request for downgrade of protocol version to FLEX 2.0 + // Preparing request to downgrade protocol version to FLEX 2.0 flexProtocolVersion = 0x14; flexStructVersion = 0x14; } |