Fix problem in masq file parsing

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@1124 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2004-02-05 20:19:29 +00:00
parent 97ea8c60d7
commit 6ae5a4eb93

View File

@ -3938,7 +3938,7 @@ setup_masq()
echo " To $destination from $s through ${interface}"
fi
done
elif [ -n "$address" ]; then
elif [ -n "$addresses" ]; then
for destnet in $(separate_list $destnets); do
addnatrule $chain -d $destnet -j SNAT $temp
done