mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-07-05 22:07:06 +08:00
reduce ipset re-add ip warnings
This commit is contained in:
parent
d191211e06
commit
852650f923
@ -9,7 +9,7 @@ LUCI_TITLE:=LuCI support for SSR Plus
|
|||||||
LUCI_DEPENDS:=+shadowsocksr-libev-alt +ipset +ip-full +iptables-mod-tproxy +dnsmasq-full +coreutils +coreutils-base64 +bash +pdnsd-alt +wget
|
LUCI_DEPENDS:=+shadowsocksr-libev-alt +ipset +ip-full +iptables-mod-tproxy +dnsmasq-full +coreutils +coreutils-base64 +bash +pdnsd-alt +wget
|
||||||
LUCI_PKGARCH:=all
|
LUCI_PKGARCH:=all
|
||||||
PKG_VERSION:=1
|
PKG_VERSION:=1
|
||||||
PKG_RELEASE:=23
|
PKG_RELEASE:=25
|
||||||
|
|
||||||
include $(TOPDIR)/feeds/luci/luci.mk
|
include $(TOPDIR)/feeds/luci/luci.mk
|
||||||
|
|
||||||
|
@ -78,7 +78,7 @@ EOF
|
|||||||
$IPT -A SS_SPEC_WAN_AC -j SS_SPEC_WAN_FW
|
$IPT -A SS_SPEC_WAN_AC -j SS_SPEC_WAN_FW
|
||||||
else
|
else
|
||||||
ipset -N gfwlist hash:net 2>/dev/null
|
ipset -N gfwlist hash:net 2>/dev/null
|
||||||
for ip in $WAN_FW_IP; do ipset add gfwlist $ip ; done
|
for ip in $WAN_FW_IP; ipset -! add gfwlist $ip ; done
|
||||||
$IPT -N SS_SPEC_WAN_AC
|
$IPT -N SS_SPEC_WAN_AC
|
||||||
$IPT -A SS_SPEC_WAN_AC -m set --match-set gfwlist dst -j SS_SPEC_WAN_FW
|
$IPT -A SS_SPEC_WAN_AC -m set --match-set gfwlist dst -j SS_SPEC_WAN_FW
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user