Handle false lastSeq
This commit is contained in:
parent
4de29e3c77
commit
fa3dda2c2f
@ -1259,7 +1259,7 @@ class routerOBP(OPENBRIDGE):
|
||||
logger.warning("(%s) Duplicate sequence number %s, disgarding",self._system,_seq)
|
||||
return
|
||||
#Inbound out-of-order packets
|
||||
if _seq and (_seq != 1) and (_seq < self._lastSeq):
|
||||
if _seq and self._lastSeq and (_seq != 1) and (_seq < self._lastSeq):
|
||||
logger.warning("%s) Out of order packet - last sequence number %s, this sequence number %s, disgarding",self._system,self._lastSeq,_seq)
|
||||
return
|
||||
#Inbound missed packets
|
||||
|
Loading…
Reference in New Issue
Block a user