shadowsocks-libev: support ss-server option local_{ipv4,ipv6}_address
authorYousong Zhou <yszhou4tech@gmail.com>
Mon, 27 Jul 2020 03:24:39 +0000 (11:24 +0800)
committerYousong Zhou <yszhou4tech@gmail.com>
Mon, 3 Aug 2020 03:52:56 +0000 (11:52 +0800)
commit7d7cbae75e84b1eaffeae259bd34041613fdb5b3
tree158dac3afb584b1b31aa02db3142ed1090d231c4
parent7c9a0919a7fc335b8cc09a221941c131b8f84baf
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>
net/shadowsocks-libev/Makefile
net/shadowsocks-libev/files/shadowsocks-libev.config
net/shadowsocks-libev/files/shadowsocks-libev.init