mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-24 15:18:53 +01:00
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:
parent
87ecb8ed7d
commit
6054189059
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user