fix password type in udprelay
This commit is contained in:
parent
d20a07192c
commit
4f948b2286
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ class UDPRelay(object):
|
||||||
self._remote_addr = None
|
self._remote_addr = None
|
||||||
self._remote_port = None
|
self._remote_port = None
|
||||||
self._dns_resolver = dns_resolver
|
self._dns_resolver = dns_resolver
|
||||||
self._password = config['password']
|
self._password = common.to_bytes(config['password'])
|
||||||
self._method = config['method']
|
self._method = config['method']
|
||||||
self._timeout = config['timeout']
|
self._timeout = config['timeout']
|
||||||
self._is_local = is_local
|
self._is_local = is_local
|
||||||
|
|
Loading…
Reference in a new issue