aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/org/traccar/protocol/EelinkProtocolEncoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/EelinkProtocolEncoder.java b/src/org/traccar/protocol/EelinkProtocolEncoder.java
index 41d76b24a..76865a039 100644
--- a/src/org/traccar/protocol/EelinkProtocolEncoder.java
+++ b/src/org/traccar/protocol/EelinkProtocolEncoder.java
@@ -65,7 +65,7 @@ public class EelinkProtocolEncoder extends BaseProtocolEncoder {
if (connectionless) {
result.writeByte('E');
result.writeByte('L');
- result.writeShort(2 + 2 + 2 + buf.readableBytes()); // length
+ result.writeShort(2 + buf.readableBytes()); // length
result.writeShort(checksum(buf.toByteBuffer()));
}