;fl;sl
This commit is contained in:
parent
0d2d6fc5ea
commit
9aba9d2fdc
|
|
@ -759,7 +759,7 @@ class OPENBRIDGE(DatagramProtocol):
|
|||
if _hash == _hash2:
|
||||
logger.trace('(%s) *ProtoControl* BCTO received: %s connected to %s with proto ver. %s',self._system, int_id(_src), int_id(_dst), int.from_bytes(_ver,'big'))
|
||||
if (int.from_bytes(_hops,'big') < 10):
|
||||
self.retransmit_bcto(_packet[:14],int.from_bytes(_hops,'big'))
|
||||
self.retransmit_bcto(_packet[4:14],int.from_bytes(_hops,'big'))
|
||||
else:
|
||||
logger.trace('(%s) *BridgeControl* not retransmitting BCTO - hop count exceeded',self._system)
|
||||
self.process_bcto(_src,_dst,_ver)
|
||||
|
|
|
|||
Loading…
Reference in New Issue