From 44231e92a020d94b11b464c2e16a23ff861fe75e Mon Sep 17 00:00:00 2001 From: teastep Date: Wed, 18 May 2005 17:42:47 +0000 Subject: [PATCH] Re-apply lost readability change git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@2134 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall2/firewall | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Shorewall2/firewall b/Shorewall2/firewall index 95270ea1b..dcd0f1e17 100755 --- a/Shorewall2/firewall +++ b/Shorewall2/firewall @@ -907,15 +907,15 @@ determine_hosts() { networks=0.0.0.0/0 fi - for networks in $networks; do + for network in $networks; do if [ -z "$hosts" ]; then - hosts=$interface:$networks + hosts=$interface:$network else - hosts="$hosts $interface:$networks" + hosts="$hosts $interface:$network" fi if interface_has_option $interface routeback; then - eval ${zone}_routeback=\"$interface:$networks \$${zone}_routeback\" + eval ${zone}_routeback=\"$interface:$network \$${zone}_routeback\" fi done done