diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-09-05 16:24:40 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-09-05 16:25:51 +1200 |
commit | f36b1eaf32af7ddc51daa558a6bb9e78095bb685 (patch) | |
tree | 7c0832d283071298acec358f231c6d366b5b69b8 /src/org/traccar/protocol/GenxProtocolDecoder.java | |
parent | 2a49efdd97bb44c78afb27b00b57d14ed0f403ae (diff) | |
download | trackermap-server-f36b1eaf32af7ddc51daa558a6bb9e78095bb685.tar.gz trackermap-server-f36b1eaf32af7ddc51daa558a6bb9e78095bb685.tar.bz2 trackermap-server-f36b1eaf32af7ddc51daa558a6bb9e78095bb685.zip |
Fix GenX protocol issues
Diffstat (limited to 'src/org/traccar/protocol/GenxProtocolDecoder.java')
-rw-r--r-- | src/org/traccar/protocol/GenxProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/GenxProtocolDecoder.java b/src/org/traccar/protocol/GenxProtocolDecoder.java index 6d16db9ad..1f9e5512c 100644 --- a/src/org/traccar/protocol/GenxProtocolDecoder.java +++ b/src/org/traccar/protocol/GenxProtocolDecoder.java @@ -69,7 +69,7 @@ public class GenxProtocolDecoder extends BaseProtocolDecoder { } } - return position; + return position.getDeviceId() != 0 ? position : null; } } |