shadowsocks-libev: support ss-server option local_{ipv4,ipv6}_address

At the moment ss-server seems to be the only component using these two
options.  It also accepts "local_address" of either ip4 or ip6 address,
but the meaning is different from that of ss-local, ss-tunnel etc.
where it is for listen bind

With this commit, we start deprecation process of uci option
"bind_address".  The name was replaced with "local_addr" in upstream
project commit 5fa98a66 ("Fix #1911") and available as json config
option "local_address".  This upstream change was released in 3.2.0

Link: https://github.com/shadowsocks/shadowsocks-libev/commit/4a42da641b6e0039497998614e84c94205939c24
Link: https://github.com/openwrt/packages/issues/12931
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
This commit is contained in:
Yousong Zhou
2020-07-27 11:24:39 +08:00
parent 7c9a0919a7
commit 7d7cbae75e
3 changed files with 11 additions and 4 deletions
@@ -58,4 +58,3 @@ config ss_server
option server_port '9001'
option password '********'
option method 'aes-256-cfb'
option bind_address '192.168.7.72'