diff options
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; } } |