mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-23 22:58:52 +01:00
Correct handling of ipsets in the DEST column of the snat file
- Also corrected handling of exclusion Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
0c05ab3bff
commit
3b373f3f21
@ -5286,7 +5286,7 @@ sub process_snat1( $$$$$$$$$$$$ ) {
|
||||
$interfaces = $1;
|
||||
} elsif ( $dest =~ /^([^:]+):([^:]*)$/ ) {
|
||||
my ( $one, $two ) = ( $1, $2 );
|
||||
if ( $2 =~ /\./ || $2 =~ /^%/ ) {
|
||||
if ( $2 =~ /\./ || $2 =~ /^[+%!]/ ) {
|
||||
$interfaces = $one;
|
||||
$destnets = $two;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user