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 }