|
|
@ -108,8 +108,8 @@ def main(): |
|
|
|
(protocol, password, method, obfs, obfs_param)) |
|
|
|
if 'server_ipv6' in a_config: |
|
|
|
try: |
|
|
|
if len(a_config['server_ipv6']) > 2 and a_config['server_ipv6'][0] == "[" and a_config['server_ipv6'][ |
|
|
|
-1] == "]": |
|
|
|
if len(a_config['server_ipv6']) > 2 and a_config['server_ipv6'][0] == b"[" and a_config['server_ipv6'][ |
|
|
|
-1] == b"]": |
|
|
|
a_config['server_ipv6'] = a_config['server_ipv6'][1:-1] |
|
|
|
a_config['server_port'] = int(port) |
|
|
|
a_config['password'] = password |
|
|
|