forked from extern/shorewall_code
Re-apply lost readability change
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@2134 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
4183092612
commit
44231e92a0
@ -907,15 +907,15 @@ determine_hosts() {
|
|||||||
networks=0.0.0.0/0
|
networks=0.0.0.0/0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for networks in $networks; do
|
for network in $networks; do
|
||||||
if [ -z "$hosts" ]; then
|
if [ -z "$hosts" ]; then
|
||||||
hosts=$interface:$networks
|
hosts=$interface:$network
|
||||||
else
|
else
|
||||||
hosts="$hosts $interface:$networks"
|
hosts="$hosts $interface:$network"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if interface_has_option $interface routeback; then
|
if interface_has_option $interface routeback; then
|
||||||
eval ${zone}_routeback=\"$interface:$networks \$${zone}_routeback\"
|
eval ${zone}_routeback=\"$interface:$network \$${zone}_routeback\"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user