|
@ -112,7 +112,6 @@ class UDPRelay(object): |
|
|
self._closed = False |
|
|
self._closed = False |
|
|
self._last_time = time.time() |
|
|
self._last_time = time.time() |
|
|
self._sockets = set() |
|
|
self._sockets = set() |
|
|
print(config) |
|
|
|
|
|
if 'forbidden_ip' in config: |
|
|
if 'forbidden_ip' in config: |
|
|
self._forbidden_iplist = config['forbidden_ip'] |
|
|
self._forbidden_iplist = config['forbidden_ip'] |
|
|
else: |
|
|
else: |
|
|