mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-23 22:58:52 +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
|
||||
# references to ipsets
|
||||
#
|
||||
iptables -F
|
||||
iptables -X
|
||||
for table in mangle nat filter; do
|
||||
iptables -t $table -F
|
||||
iptables -t $table -X
|
||||
done
|
||||
|
||||
${RESTOREPATH}-ipsets
|
||||
fi
|
||||
|
||||
@ -9184,8 +9187,11 @@ stop_firewall()
|
||||
# We must purge iptables to be sure that there are no
|
||||
# references to ipsets
|
||||
#
|
||||
iptables -F
|
||||
iptables -X
|
||||
for table in nat mangle filter; do
|
||||
iptables -t \$table -F
|
||||
iptables -t \$table -X
|
||||
done
|
||||
|
||||
\${RESTOREPATH}-ipsets
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user