diff --git a/hblink.py b/hblink.py index 4ccaa11..391886b 100755 --- a/hblink.py +++ b/hblink.py @@ -387,8 +387,8 @@ class OPENBRIDGE(DatagramProtocol): return #Discard old packets - if (int.from_bytes(_timestamp,'big')/1000000000) < (time() - 2): - logger.warning('(%s) Packet more than 2s old!, discarding', self._system) + if (int.from_bytes(_timestamp,'big')/1000000000) < (time() - 5): + logger.warning('(%s) Packet more than 5s old!, discarding', self._system) return #Increment max hops