From 2e2029ce093d2c5998b877c1e729aa5d3f4805be Mon Sep 17 00:00:00 2001 From: teastep Date: Sun, 1 Jun 2003 20:12:11 +0000 Subject: [PATCH] Fix 'routestopped' git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@582 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- STABLE/firewall | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/STABLE/firewall b/STABLE/firewall index d9cb5dd97..5a4d0c256 100755 --- a/STABLE/firewall +++ b/STABLE/firewall @@ -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