fix another bug
This commit is contained in:
parent
51d469768a
commit
1202c78450
@ -445,10 +445,10 @@ class routerOBP(OPENBRIDGE):
|
|||||||
# Subscriber is static. Add 20 years of time.
|
# Subscriber is static. Add 20 years of time.
|
||||||
if i[0] == int_id(_rf_src):
|
if i[0] == int_id(_rf_src):
|
||||||
map_time = pkt_time + time_20
|
map_time = pkt_time + time_20
|
||||||
|
logger.debug('Static Unit, update time.')
|
||||||
# Proceed as normal
|
# Proceed as normal
|
||||||
else:
|
else:
|
||||||
map_time = pkt_time
|
map_time = pkt_time
|
||||||
|
|
||||||
# Make/update this unit in the UNIT_MAP cache
|
# Make/update this unit in the UNIT_MAP cache
|
||||||
UNIT_MAP[_rf_src] = (self.name, map_time)
|
UNIT_MAP[_rf_src] = (self.name, map_time)
|
||||||
|
|
||||||
@ -936,13 +936,14 @@ class routerHBP(HBSYSTEM):
|
|||||||
# Subscriber is static. Add 20 years of time.
|
# Subscriber is static. Add 20 years of time.
|
||||||
if i[0] == int_id(_rf_src):
|
if i[0] == int_id(_rf_src):
|
||||||
map_time = pkt_time + time_20
|
map_time = pkt_time + time_20
|
||||||
|
logger.debug('Static Unit, update time.')
|
||||||
# Proceed as normal
|
# Proceed as normal
|
||||||
else:
|
else:
|
||||||
map_time = pkt_time
|
map_time = pkt_time
|
||||||
|
|
||||||
|
|
||||||
# Make/update this unit in the UNIT_MAP cache
|
# 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?
|
# Is this a new call stream?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user