typo
This commit is contained in:
parent
4f52dffcc1
commit
de67c11207
1 changed files with 1 additions and 1 deletions
|
@ -1019,7 +1019,7 @@ class TCPRelay(object):
|
|||
listen_port = config['server_port']
|
||||
self._listen_port = listen_port
|
||||
|
||||
if common.to_bytes(config['protocol']) in ["auth_aes128_md5", "auth_aes128_sha1"]:
|
||||
if common.to_bytes(config['protocol']) in [b"auth_aes128_md5", b"auth_aes128_sha1"]:
|
||||
param = common.to_bytes(config['protocol_param']).split(b'#')
|
||||
if len(param) == 2:
|
||||
user_list = param[1].split(b',')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue