mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-15 10:08:43 +01:00
Fix ADDRESSES=detect with ADD_SNAT_ALIASES=Yes
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6115 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
c32ee9a18c
commit
7db77a4b22
@ -217,6 +217,7 @@ sub setup_one_masq($$$$$$)
|
||||
for my $address ( split /,/, $addresses ) {
|
||||
my ( $addrs, $port ) = split /:/, $address;
|
||||
next unless $addrs;
|
||||
next if $addrs eq 'detect';
|
||||
for my $addr ( ip_range_explicit $addrs ) {
|
||||
unless ( $addresses_to_add{$addr} ) {
|
||||
emit "del_ip_addr $addr $interface" unless $config{RETAIN_ALIASES};
|
||||
|
Loading…
Reference in New Issue
Block a user