Fix ipsets bug

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@3286 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2006-01-14 20:55:54 +00:00
parent 87ecb8ed7d
commit 6054189059

View File

@ -2132,8 +2132,11 @@ stop_firewall() {
# We must purge iptables to be sure that there are no # We must purge iptables to be sure that there are no
# references to ipsets # references to ipsets
# #
iptables -F for table in mangle nat filter; do
iptables -X iptables -t $table -F
iptables -t $table -X
done
${RESTOREPATH}-ipsets ${RESTOREPATH}-ipsets
fi fi
@ -9184,8 +9187,11 @@ stop_firewall()
# We must purge iptables to be sure that there are no # We must purge iptables to be sure that there are no
# references to ipsets # references to ipsets
# #
iptables -F for table in nat mangle filter; do
iptables -X iptables -t \$table -F
iptables -t \$table -X
done
\${RESTOREPATH}-ipsets \${RESTOREPATH}-ipsets
fi fi