Only compare whole packet is seq > 1

pypy
Simon 5 years ago
parent 250b0789b6
commit 51e7d50d1e

@ -1250,7 +1250,7 @@ class routerOBP(OPENBRIDGE):
_bits = _data[15]
#Duplicate complete packet
if self._lastData and _lastData == _data:
if self._lastData and _lastData == _data and _seq > 1:
logger.warning("(%s) last packet is a complete duplicate of the previous one, disgarding",self._system)
return

Loading…
Cancel
Save

Powered by TurnKey Linux.