mirror of
https://github.com/openwrt/packages.git
synced 2025-12-26 11:16:31 +04:00
shadowsocks-libev: ss-rules: fix flushing ipv6 rules
"-6" has to be the first argument Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
This commit is contained in:
@@ -145,7 +145,7 @@ ss_rules() {
|
||||
|
||||
[ -x "$bin" ] || return 1
|
||||
"$bin" -f
|
||||
"$bin" -f -6
|
||||
"$bin" -6 -f
|
||||
|
||||
config_get cfgtype "$cfg" TYPE
|
||||
[ "$cfgtype" = ss_rules ] || return 1
|
||||
|
||||
Reference in New Issue
Block a user