Fix typo in _config

This commit is contained in:
Simon 2021-04-08 18:35:48 +01:00
parent 4681bf7b0f
commit cee96e1b96
1 changed files with 2 additions and 2 deletions

View File

@ -218,8 +218,8 @@ class OPENBRIDGE(DatagramProtocol):
self._config['_bcka'] = time()
if _sockaddr != self._config['TARGET_SOCK']:
h,p = _sockaddr
if h != self.config['TARGET_IP']:
self.config['TARGET_IP'] = h
if h != self._config['TARGET_IP']:
self._config['TARGET_IP'] = h
logger.info('(%s) *BridgeControl* Source IP has changed for OBP, updating',self._system)
else: