aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--receive.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/receive.go b/receive.go
index 01151ca..abe4e57 100644
--- a/receive.go
+++ b/receive.go
@@ -147,7 +147,7 @@ func (device *Device) RoutineReceiveIncoming(IP int, bind Bind) {
// check size
- if len(packet) < MessageTransportType {
+ if len(packet) < MessageTransportSize {
continue
}