Only compare whole packet is seq > 1

This commit is contained in:
Simon 2021-04-16 10:53:53 +01:00
parent 250b0789b6
commit 51e7d50d1e
1 changed files with 1 additions and 1 deletions

View File

@ -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