Fix typo in _config
This commit is contained in:
parent
4681bf7b0f
commit
cee96e1b96
|
@ -218,8 +218,8 @@ class OPENBRIDGE(DatagramProtocol):
|
||||||
self._config['_bcka'] = time()
|
self._config['_bcka'] = time()
|
||||||
if _sockaddr != self._config['TARGET_SOCK']:
|
if _sockaddr != self._config['TARGET_SOCK']:
|
||||||
h,p = _sockaddr
|
h,p = _sockaddr
|
||||||
if h != self.config['TARGET_IP']:
|
if h != self._config['TARGET_IP']:
|
||||||
self.config['TARGET_IP'] = h
|
self._config['TARGET_IP'] = h
|
||||||
logger.info('(%s) *BridgeControl* Source IP has changed for OBP, updating',self._system)
|
logger.info('(%s) *BridgeControl* Source IP has changed for OBP, updating',self._system)
|
||||||
|
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue