diff --git a/hblink.py b/hblink.py index 4e3844e..f146c3f 100755 --- a/hblink.py +++ b/hblink.py @@ -302,7 +302,7 @@ class OPENBRIDGE(DatagramProtocol): _h.update(_packet) _hash = _h.digest() _packet = b''.join([_packet,_hash]) - systems[system].transport.write(_packet, (self._CONFIG['SYSTEMS'][system]['TARGET_IP'], self._CONFIG['SYSTEMS'][system]['TARGET_PORT'])) + self.transport.write(_packet, (self._CONFIG['SYSTEMS'][system]['TARGET_IP'], self._CONFIG['SYSTEMS'][system]['TARGET_PORT'])) logger.trace('(%s) *BridgeControl* retransmitted BCTO.',self._system) else: logger.trace('(%s) *BridgeControl* not retransmitting BCTO, TARGET_IP currently not known.',self._system)