|
|
|
@ -387,8 +387,8 @@ class OPENBRIDGE(DatagramProtocol):
|
|
|
|
return
|
|
|
|
return
|
|
|
|
|
|
|
|
|
|
|
|
#Discard old packets
|
|
|
|
#Discard old packets
|
|
|
|
if (int.from_bytes(_timestamp,'big')/1000000000) < (time() - 2):
|
|
|
|
if (int.from_bytes(_timestamp,'big')/1000000000) < (time() - 5):
|
|
|
|
logger.warning('(%s) Packet more than 2s old!, discarding', self._system)
|
|
|
|
logger.warning('(%s) Packet more than 5s old!, discarding', self._system)
|
|
|
|
return
|
|
|
|
return
|
|
|
|
|
|
|
|
|
|
|
|
#Increment max hops
|
|
|
|
#Increment max hops
|
|
|
|
|