From 0991670323fdd6f9a2401ba85656ec8786a6831d Mon Sep 17 00:00:00 2001 From: Simon Date: Thu, 4 Aug 2022 00:49:10 +0100 Subject: [PATCH] fkjkj --- hblink.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hblink.py b/hblink.py index 6ec6815..71ce51f 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)