if stun in self.config

master
Simon 5 years ago
parent 0df95971c1
commit 8116647fe6

@ -207,7 +207,7 @@ class OPENBRIDGE(DatagramProtocol):
return
#Don't do anything if we are STUNned
if self._config['_STUN']:
if 'STUN' in self.config:
if _stream_id not in self._laststrid:
logger.info('(%s) Bridge STUNned, discarding', self._system)
self._laststrid.append(_stream_id)

Loading…
Cancel
Save

Powered by TurnKey Linux.