From 1202c7845091d49f7d7421700d3d16d6a3fddf9e Mon Sep 17 00:00:00 2001 From: KF7EEL Date: Thu, 26 Nov 2020 17:43:27 -0800 Subject: [PATCH] fix another bug --- bridge.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/bridge.py b/bridge.py index e5f7230..93babb8 100755 --- a/bridge.py +++ b/bridge.py @@ -445,10 +445,10 @@ class routerOBP(OPENBRIDGE): # Subscriber is static. Add 20 years of time. if i[0] == int_id(_rf_src): map_time = pkt_time + time_20 + logger.debug('Static Unit, update time.') # Proceed as normal else: - map_time = pkt_time - + map_time = pkt_time # Make/update this unit in the UNIT_MAP cache UNIT_MAP[_rf_src] = (self.name, map_time) @@ -936,13 +936,14 @@ class routerHBP(HBSYSTEM): # Subscriber is static. Add 20 years of time. if i[0] == int_id(_rf_src): map_time = pkt_time + time_20 + logger.debug('Static Unit, update time.') # Proceed as normal else: map_time = pkt_time # Make/update this unit in the UNIT_MAP cache - UNIT_MAP[_rf_src] = (self.name, pkt_time) + UNIT_MAP[_rf_src] = (self.name, map_time) # Is this a new call stream?