From 275306af50a2b384d2f3ba758fca31e2e3fc205c Mon Sep 17 00:00:00 2001 From: Simon Date: Thu, 4 Aug 2022 00:48:12 +0100 Subject: [PATCH] f --- hblink.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hblink.py b/hblink.py index 315dc56..6ec6815 100755 --- a/hblink.py +++ b/hblink.py @@ -759,7 +759,7 @@ class OPENBRIDGE(DatagramProtocol): _hops = _packet[13:14] if _hash == _hash2: logger.trace('(%s) *ProtoControl* BCTO received: %s connected to %s with proto ver. %s. HOPS: ',self._system, int_id(_src), int_id(_dst), int.from_bytes(_ver,'big'), int.from_bytes(_hops,'big') - if (int.from_bytes(_hops,'big') < 10 and _src != self._CONFIG['GLOBAL']['SERVER_ID']): + if int.from_bytes(_hops,'big' < 10 and _src != self._CONFIG['GLOBAL']['SERVER_ID']: self.retransmit_bcto(_packet[4:13],int.from_bytes(_hops,'big')) else: logger.trace('(%s) *BridgeControl* not retransmitting BCTO - hop count exceeded or my packet',self._system)