mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-23 14:08:45 +01:00
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:
parent
afbe79977e
commit
5e8a20b455
@ -3367,7 +3367,7 @@ setup_masq()
|
||||
|
||||
if [ -n "$addresses" -a -n "$ADD_SNAT_ALIASES" ]; then
|
||||
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
|
||||
aliases_to_add="$aliases_to_add $addr $fullinterface"
|
||||
case $fullinterface in
|
||||
|
Loading…
Reference in New Issue
Block a user