record packets

crc16
Simon 4 years ago
parent 454fefce65
commit 038078c733
No known key found for this signature in database
GPG Key ID: 6ACF11630B5D8F82

@ -1713,7 +1713,7 @@ class routerOBP(OPENBRIDGE):
return return
#Duplicate DMR payload to previuos packet (by Crc32) #Duplicate DMR payload to previuos packet (by Crc32)
if _seq != 0 and _pkt_crc in self.STATUS[_stream_id]['crcs']: if _seq != 0 and _pkt_crc in self.STATUS[_stream_id]['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) logger.warning("(%s) *PacketControl* DMR packet payload with Crc32: %s seen before in this stream, disgarding. Stream ID:, %s TGID: %s: SEQ:%s packets: ",self._system,_pkt_crc,int_id(_stream_id),int_id(_dst_id),_seq, self.STATUS[_stream_id]['packets'])
return return
#Inbound out-of-order packets #Inbound out-of-order packets
if _seq and self.STATUS[_stream_id]['lastSeq'] and (_seq != 1) and (_seq < self.STATUS[_stream_id]['lastSeq']): if _seq and self.STATUS[_stream_id]['lastSeq'] and (_seq != 1) and (_seq < self.STATUS[_stream_id]['lastSeq']):

Loading…
Cancel
Save

Powered by TurnKey Linux.