From 4aae0302e03a67bf89049bc3d35ad4db803030c4 Mon Sep 17 00:00:00 2001 From: Simon Date: Sat, 14 Nov 2020 10:45:45 +0000 Subject: [PATCH] Fix timer on reflectors --- bridge_master.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bridge_master.py b/bridge_master.py index 2f868ab..56b8b52 100755 --- a/bridge_master.py +++ b/bridge_master.py @@ -1187,9 +1187,10 @@ class routerHBP(HBSYSTEM): _nine = bytes_3(9) + _int_dst_id = int_id(_dst_id) + #Handle private calls (for reflectors) if _call_type == 'unit' and _slot == 2: - _int_dst_id = int_id(_dst_id) if (_stream_id != self.STATUS[_slot]['RX_STREAM_ID']): logger.warning('(%s) Reflector: Private call from %s to %s',self._system, int_id(_rf_src), _int_dst_id) #if _int_dst_id >= 4000 and _int_dst_id <= 5000: @@ -1386,7 +1387,7 @@ class routerHBP(HBSYSTEM): # Iterate the rules dictionary BRIDGE_SEMA.acquire(blocking = True) for _bridge in BRIDGES: - if _bridge[0:1] == '#': + if _bridge[0:1] == '#' and _int_dst_id != 9: continue for _system in BRIDGES[_bridge]: if _system['SYSTEM'] == self._system: