aboutsummaryrefslogtreecommitdiff
path: root/src/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-02-11 23:31:06 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2017-02-11 23:31:06 +1300
commitdd40aaff0a93374bfd5a94bb2f14d333d3c4c883 (patch)
tree64475fcdc4cc05bdefbf58c2f15c3e3b5be04319 /src/org
parenteb78d7bd7236234021ee0dfa3202e8cc8ef823f7 (diff)
downloadtrackermap-server-dd40aaff0a93374bfd5a94bb2f14d333d3c4c883.tar.gz
trackermap-server-dd40aaff0a93374bfd5a94bb2f14d333d3c4c883.tar.bz2
trackermap-server-dd40aaff0a93374bfd5a94bb2f14d333d3c4c883.zip
Ignore invalid H02 messages
Diffstat (limited to 'src/org')
-rw-r--r--src/org/traccar/protocol/H02FrameDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/H02FrameDecoder.java b/src/org/traccar/protocol/H02FrameDecoder.java
index f1d305ab6..ac3dbcc2e 100644
--- a/src/org/traccar/protocol/H02FrameDecoder.java
+++ b/src/org/traccar/protocol/H02FrameDecoder.java
@@ -81,7 +81,7 @@ public class H02FrameDecoder extends FrameDecoder {
default:
- throw new IllegalArgumentException();
+ return null;
}
return null;