aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-11-08 22:35:13 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-11-08 22:35:13 +1300
commit3fa63631e2cb0c59aa2aa490a4ed742dd7153a8b (patch)
treee157211276bbfec0d2cc77cb74f9429bdb065fac /src
parent4a138cb8273e6a2078c0144ae592af81f563f71f (diff)
downloadtraccar-server-3fa63631e2cb0c59aa2aa490a4ed742dd7153a8b.tar.gz
traccar-server-3fa63631e2cb0c59aa2aa490a4ed742dd7153a8b.tar.bz2
traccar-server-3fa63631e2cb0c59aa2aa490a4ed742dd7153a8b.zip
Set protocol name in GoSafe decoder
Diffstat (limited to 'src')
-rw-r--r--src/org/traccar/protocol/GoSafeProtocolDecoder.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/org/traccar/protocol/GoSafeProtocolDecoder.java b/src/org/traccar/protocol/GoSafeProtocolDecoder.java
index a779025bf..2fb7522d3 100644
--- a/src/org/traccar/protocol/GoSafeProtocolDecoder.java
+++ b/src/org/traccar/protocol/GoSafeProtocolDecoder.java
@@ -103,6 +103,7 @@ public class GoSafeProtocolDecoder extends BaseProtocolDecoder {
private Position decodePosition(Parser parser, Date time) {
Position position = new Position();
+ position.setProtocol(getProtocolName());
position.setDeviceId(getDeviceId());
position.setTime(time);