apply same fixes to HBP

crc16
Simon 4 years ago
parent 4a343ad8a7
commit 12ffffde8b
No known key found for this signature in database
GPG Key ID: 6ACF11630B5D8F82

@ -2433,8 +2433,8 @@ class routerHBP(HBSYSTEM):
logger.warning("(%s) *PacketControl* Duplicate sequence number %s, disgarding. Stream ID:, %s TGID: %s",self._system,_seq,int_id(_stream_id),int_id(_dst_id))
return
#Duplicate DMR payload to previuos packet (by Crc32)
if _pkt_crc in self.STATUS[_slot]['crcs']:
logger.warning("(%s) *PacketControl* DMR packet payload with Crc32: %s seen before in this stream, disgarding. Stream ID:, %s TGID: %s",self._system,_pkt_crc,int_id(_stream_id),int_id(_dst_id))
if self.STATUS.[_slot]['packets'] > 1 and _pkt_crc in self.STATUS[_slot]['crcs']:
logger.warning("(%s) *PacketControl* DMR packet payload with Crc32: %s seen before in this stream, disgarding. Stream ID:, %s TGID: %s, SEQ: %s",self._system,_pkt_crc,int_id(_stream_id),int_id(_dst_id),_seq)
return
#Inbound out-of-order packets
if _seq and self.STATUS[_slot]['lastSeq'] and (_seq != 1) and (_seq < self.STATUS[_slot]['lastSeq']):

Loading…
Cancel
Save

Powered by TurnKey Linux.