aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-12-02 09:02:06 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2019-12-02 09:02:06 -0800
commit8a918e12f4a899a4ffdb67c58d57daefb94c5ab4 (patch)
tree7962538b6f65e32d1a2a999f31b5cd4366b1a7e5 /src/main/java/org
parent972f237cd98dc477a1b497fed8270e3bdd6b6813 (diff)
downloadtrackermap-server-8a918e12f4a899a4ffdb67c58d57daefb94c5ab4.tar.gz
trackermap-server-8a918e12f4a899a4ffdb67c58d57daefb94c5ab4.tar.bz2
trackermap-server-8a918e12f4a899a4ffdb67c58d57daefb94c5ab4.zip
Support empty vendor
Diffstat (limited to 'src/main/java/org')
-rw-r--r--src/main/java/org/traccar/protocol/ItsProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/ItsProtocolDecoder.java b/src/main/java/org/traccar/protocol/ItsProtocolDecoder.java
index d76d9c92e..4746f7dd5 100644
--- a/src/main/java/org/traccar/protocol/ItsProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/ItsProtocolDecoder.java
@@ -41,7 +41,7 @@ public class ItsProtocolDecoder extends BaseProtocolDecoder {
.text("$")
.expression(",?[^,]+,") // event
.groupBegin()
- .expression("[^,]+,") // vendor
+ .expression("[^,]*,") // vendor
.expression("[^,]+,") // firmware version
.expression("(..),") // status
.number("(d+),").optional() // event