Fix 'routestopped'

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@582 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2003-06-01 20:12:11 +00:00
parent 184d7aac40
commit 2e2029ce09

View File

@ -1000,7 +1000,7 @@ stop_firewall() {
while read interface host; do
expandv interface host
[ "x$host" = "x-" ] && host=0.0.0.0/0
[ "x$host" = "x-" -o -z "$hosts" ] && host=0.0.0.0/0
for h in `separate_list $host`; do
hosts="$hosts $interface:$h"
done