diff --git a/bridge_master.py b/bridge_master.py index 34a9e63..2d8e92c 100755 --- a/bridge_master.py +++ b/bridge_master.py @@ -1103,7 +1103,7 @@ class routerOBP(OPENBRIDGE): continue #If target has missed 6 (on 1 min) of keepalives, don't send - if _target_system['ENHANCED_OBP'] ['_bcka'] in _target_system and _target_system['_bcka'] < _pkt_time - 60: + if _target_system['ENHANCED_OBP'] and '_bcka' in _target_system and _target_system['_bcka'] < _pkt_time - 60: logger.debug(_target_system['_bcka']) continue @@ -1456,7 +1456,7 @@ class routerHBP(HBSYSTEM): continue #If target has missed 6 (on 1 min) of keepalives, don't send - if _target_system['ENHANCED_OBP'] ['_bcka'] in _target_system and _target_system['_bcka'] < _pkt_time - 60: + if _target_system['ENHANCED_OBP'] and '_bcka' in _target_system and _target_system['_bcka'] < _pkt_time - 60: continue # Is this a new call stream on the target?