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)