From 7010019f5571de1ff8c1574a55518cab9cb36923 Mon Sep 17 00:00:00 2001 From: Simon Date: Fri, 21 Jan 2022 22:46:23 +0000 Subject: [PATCH] and the rest --- bridge.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bridge.py b/bridge.py index f6807e3..93ed474 100755 --- a/bridge.py +++ b/bridge.py @@ -483,7 +483,7 @@ class routerOBP(OPENBRIDGE): _tmp_data = b''.join([_tmp_data, dmrpkt, b'\x00\x00']) # Add two bytes of nothing since OBP doesn't include BER & RSSI bytes #_data[53:55] # Transmit the packet to the destination system - systems[_target['SYSTEM']].send_system(_tmp_data) + systems[_target['SYSTEM']].send_system(_tmp_data,_hops) #logger.debug('(%s) Packet routed by bridge: %s to system: %s TS: %s, TGID: %s', self._system, _bridge, _target['SYSTEM'], _target['TS'], int_id(_target['TGID'])) @@ -790,7 +790,7 @@ class routerHBP(HBSYSTEM): _tmp_data = b''.join([_tmp_data, dmrpkt, _data[53:55]]) # Transmit the packet to the destination system - systems[_target['SYSTEM']].send_system(_tmp_data) + systems[_target['SYSTEM']].send_system(_tmp_data,_hops) #logger.debug('(%s) Packet routed by bridge: %s to system: %s TS: %s, TGID: %s', self._system, _bridge, _target['SYSTEM'], _target['TS'], int_id(_target['TGID']))