mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-23 08:03:11 +01:00
Avoid 'delete_nat doesn't exist' Errors -- Take 2
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@3613 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
17f21b2f05
commit
bfaf8541cf
@ -8134,7 +8134,7 @@ stop_firewall() {
|
||||
|
||||
if [ -f /var/lib/shorewall/nat ]; then
|
||||
while read external interface; do
|
||||
qt ip addr del $external dev $interface
|
||||
qt ip addr del $external dev \$interface
|
||||
done < /var/lib/shorewall/nat
|
||||
|
||||
rm -f {/var/lib/shorewall}/nat
|
||||
|
Loading…
Reference in New Issue
Block a user