shadowsocks-libev: ss-rules: fix flushing ipv6 rules
authorYousong Zhou <yszhou4tech@gmail.com>
Tue, 12 Feb 2019 11:52:17 +0000 (11:52 +0000)
committerYousong Zhou <yszhou4tech@gmail.com>
Tue, 12 Feb 2019 11:53:16 +0000 (11:53 +0000)
"-6" has to be the first argument

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
net/shadowsocks-libev/Makefile
net/shadowsocks-libev/files/shadowsocks-libev.init

index 3bf2f266975b1901c76c0279fe6391df041d4fdc..0d0dc7aa123514e7f88a2541a9c86939fcec6581 100644 (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)
index 12b6a915ee4e532f6f51d8b6c427abd41f531ea6..81b209c5c2767db0d178f1f16acdec9291a2a788 100644 (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