Fix adding range of aliases

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@733 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2003-08-27 19:37:53 +00:00
parent afbe79977e
commit 5e8a20b455

View File

@ -3367,7 +3367,7 @@ setup_masq()
if [ -n "$addresses" -a -n "$ADD_SNAT_ALIASES" ]; then if [ -n "$addresses" -a -n "$ADD_SNAT_ALIASES" ]; then
for address in `separate_list $addresses`; do for address in `separate_list $addresses`; do
for addr in `ip_range $address` ; do for addr in `ip_range_explicit $address` ; do
if ! list_search $addr $aliases_to_add; then if ! list_search $addr $aliases_to_add; then
aliases_to_add="$aliases_to_add $addr $fullinterface" aliases_to_add="$aliases_to_add $addr $fullinterface"
case $fullinterface in case $fullinterface in