Revert "Check for proper source server ID"

This reverts commit ec9a240ead.
proxy_info
Simon 4 years ago
parent ec9a240ead
commit b159fa1542

@ -397,7 +397,7 @@ class OPENBRIDGE(DatagramProtocol):
return
#Discard bad source server
if (len(str(int.from_bytes(_source_server,'big'))) > 5) or (len(str(int.from_bytes(_source_server,'big'))) < 4):
if (len(str(int.from_bytes(_source_server,'big')) > 5) or (len(str(int.from_bytes(_source_server,'big')) < 4) ):
logger.warning('(%s) Source Server should be 4 or 5 digits, discarding', self._system)
self.send_bcsq(_dst_id,_stream_id)
return

Loading…
Cancel
Save

Powered by TurnKey Linux.