Revert "Fix typo"

This reverts commit 05b84ba240.
debug
Simon 3 years ago
parent 05b84ba240
commit 3f798da0ba

@ -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 %s more than 5s old!, discarding', self._system,int.from_bytes(_source_server,'big')) logger.warning('(%s) Packet from server % 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.