debug
Simon 3 years ago
parent 694d5331b2
commit 05b84ba240

@ -493,7 +493,7 @@ class OPENBRIDGE(DatagramProtocol):
#Discard old packets #Discard old packets
if (int.from_bytes(_timestamp,'big')/1000000000) < (time() - 5): if (int.from_bytes(_timestamp,'big')/1000000000) < (time() - 5):
if _stream_id not in self._laststrid: if _stream_id not in self._laststrid:
logger.warning('(%s) Packet from server % more than 5s old!, discarding', self._system,int.from_bytes(_source_server,'big')) logger.warning('(%s) Packet from server %s more than 5s old!, discarding', self._system,int.from_bytes(_source_server,'big'))
self.send_bcsq(_dst_id,_stream_id) self.send_bcsq(_dst_id,_stream_id)
self._laststrid.append(_stream_id) self._laststrid.append(_stream_id)
return return

Loading…
Cancel
Save

Powered by TurnKey Linux.