summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <blino@mageia.org>2011-12-04 13:43:10 +0000
committerOlivier Blin <blino@mageia.org>2011-12-04 13:43:10 +0000
commitb47c50087d9352c09df12fc83a19072652ab147d (patch)
tree599581be645efdfb550effc21d351747702173d6
parent165df0aaecf5bd519efcf57ac69ab3d001251284 (diff)
downloadmandi-b47c50087d9352c09df12fc83a19072652ab147d.tar
mandi-b47c50087d9352c09df12fc83a19072652ab147d.tar.gz
mandi-b47c50087d9352c09df12fc83a19072652ab147d.tar.bz2
mandi-b47c50087d9352c09df12fc83a19072652ab147d.tar.xz
mandi-b47c50087d9352c09df12fc83a19072652ab147d.zip
use --match-set instead of deprecated --set in ipset match
-rw-r--r--scripts/start4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/start b/scripts/start
index b416e8b..f14d0d1 100644
--- a/scripts/start
+++ b/scripts/start
@@ -1,5 +1,5 @@
iptables -N Ifw
ipset -N ifw_wl iptree
-iptables -A Ifw -m set --set ifw_wl src -j RETURN
+iptables -A Ifw -m set --match-set ifw_wl src -j RETURN
ipset -N ifw_bl iptree --timeout 3600
-iptables -A Ifw -m set --set ifw_bl src -j DROP
+iptables -A Ifw -m set --match-set ifw_bl src -j DROP