Revert "and for obp"

This reverts commit 9035b62091.
This commit is contained in:
Simon 2021-04-27 19:45:38 +01:00
parent 9e0ec940b9
commit 510df11d33

View File

@ -1340,7 +1340,7 @@ class routerOBP(OPENBRIDGE):
return
#Inbound missed packets
if _seq and self.STATUS[_stream_id]['lastSeq'] and _seq > (self.STATUS[_stream_id]['lastSeq']+1):
logger.warning("(%s) *PacketControl* %s Missed packet(s) - last SEQ: %s, this SEQ: %s. Stream ID:, %s TGID: %s ",self._system, (_seq - self.STATUS[_stream_id]['lastSeq']) self.STATUS[_stream_id]['lastSeq'],_seq,int_id(_stream_id),int_id(_dst_id))
logger.warning("(%s) *PacketControl* Missed packet(s) - last SEQ: %s, this SEQ: %s. Stream ID:, %s TGID: %s ",self._system,self.STATUS[_stream_id]['lastSeq'],_seq,int_id(_stream_id),int_id(_dst_id))
#Save this sequence number
self.STATUS[_stream_id]['lastSeq'] = _seq
@ -1827,7 +1827,7 @@ class routerHBP(HBSYSTEM):
return
#Inbound missed packets
if _seq and self.STATUS[_slot]['lastSeq'] and _seq > (self.STATUS[_slot]['lastSeq']+1):
logger.warning("(%s) *PacketControl* %s Missed packet(s) - last SEQ: %s, this SEQ: %s. Stream ID:, %s TGID: %s ",self._system,(_seq - self.STATUS[_slot]['lastSeq']),self.STATUS[_slot]['lastSeq'],_seq,int_id(_stream_id),int_id(_dst_id))
logger.warning("(%s) *PacketControl* %s Missed packet(s) - last SEQ: %s, this SEQ: %s. Stream ID:, %s TGID: %s ",self._system,_seq - self.STATUS[_slot]['lastSeq',self.STATUS[_slot]['lastSeq'],_seq,int_id(_stream_id),int_id(_dst_id))
#Save this sequence number
self.STATUS[_slot]['lastSeq'] = _seq