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:
Yousong Zhou
2019-02-12 11:52:17 +00:00
parent 8cba4a7f8b
commit b69810b8ec
2 changed files with 2 additions and 2 deletions

View File

@@ -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