aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/protocol/WliProtocolDecoder.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org/traccar/protocol/WliProtocolDecoder.java')
-rw-r--r--src/main/java/org/traccar/protocol/WliProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/WliProtocolDecoder.java b/src/main/java/org/traccar/protocol/WliProtocolDecoder.java
index fb3d076c1..0e2a0a65e 100644
--- a/src/main/java/org/traccar/protocol/WliProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/WliProtocolDecoder.java
@@ -123,7 +123,7 @@ public class WliProtocolDecoder extends BaseProtocolDecoder {
} else if (type == '2') {
String id = buf.toString(buf.readerIndex(), buf.readableBytes() - 1, StandardCharsets.US_ASCII);
- getDeviceSession(channel, remoteAddress, id);
+ getDeviceSession(channel, remoteAddress, id.substring("wli:".length()));
return null;
}