From fbee7ba61863cf630166d1e4fd9be9b4e7efcb72 Mon Sep 17 00:00:00 2001 From: Wing Gao Date: Sat, 18 May 2019 17:48:30 +0800 Subject: [PATCH] fix out_bind --- shadowsocks/server.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shadowsocks/server.py b/shadowsocks/server.py index c18ad1cc..9190a970 100755 --- a/shadowsocks/server.py +++ b/shadowsocks/server.py @@ -82,8 +82,8 @@ def main(): protocol_param = config.get("protocol_param", '') obfs = config.get("obfs", 'plain') obfs_param = config.get("obfs_param", '') - bind = config.get("out_bind", '') - bindv6 = config.get("out_bindv6", '') + bind = common.to_str(config.get("out_bind", '')) + bindv6 = common.to_str(config.get("out_bindv6", '')) if type(password_obfs) == list: password = password_obfs[0] obfs = common.to_str(password_obfs[1])