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

@ -14,7 +14,7 @@ include $(TOPDIR)/rules.mk
#
PKG_NAME:=shadowsocks-libev
PKG_VERSION:=3.2.3
PKG_RELEASE:=5
PKG_RELEASE:=6
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://github.com/shadowsocks/shadowsocks-libev/releases/download/v$(PKG_VERSION)

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