mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-27 18:13:13 +01:00
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
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user