aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-01-22 21:38:11 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2019-01-22 21:38:11 -0800
commit873e2ce995df4fb920a2fd19aaadc1bc78f5581a (patch)
tree673b5863b0d4cea42080fc4ea565be99942774d8 /src
parent555c537739df5fc505f48530afe245f4f308a548 (diff)
downloadtrackermap-server-873e2ce995df4fb920a2fd19aaadc1bc78f5581a.tar.gz
trackermap-server-873e2ce995df4fb920a2fd19aaadc1bc78f5581a.tar.bz2
trackermap-server-873e2ce995df4fb920a2fd19aaadc1bc78f5581a.zip
Fix ITS login response
Diffstat (limited to 'src')
-rw-r--r--src/org/traccar/protocol/ItsProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/ItsProtocolDecoder.java b/src/org/traccar/protocol/ItsProtocolDecoder.java
index 000e7759f..62bf1f1e6 100644
--- a/src/org/traccar/protocol/ItsProtocolDecoder.java
+++ b/src/org/traccar/protocol/ItsProtocolDecoder.java
@@ -76,7 +76,7 @@ public class ItsProtocolDecoder extends BaseProtocolDecoder {
String sentence = (String) msg;
if (channel != null && sentence.startsWith("$,01,")) {
- channel.writeAndFlush(new NetworkMessage("$,01,", remoteAddress));
+ channel.writeAndFlush(new NetworkMessage("$,1,*", remoteAddress));
}
Parser parser = new Parser(PATTERN, sentence);