almost done

This commit is contained in:
clowwindy 2014-06-01 14:10:18 +08:00
parent bacf9cb443
commit 47fd479d6e
5 changed files with 122 additions and 528 deletions

View file

@ -86,7 +86,7 @@ def client_key(a, b, c, d):
class UDPRelay(object):
def __init__(self, config, is_local=True):
def __init__(self, config, is_local):
if is_local:
self._listen_addr = config['local_address']
self._listen_port = config['local_port']