forked from extern/shorewall_code
Clean up RAs involving "|"
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
130ddff9de
commit
2a9272ccd1
@ -1641,7 +1641,7 @@ sub merge_inline_source_dest( $$ ) {
|
||||
return join( ':', $invocation, $body );
|
||||
}
|
||||
} else {
|
||||
fatal_error 'Interface names cannot appear in the DEST column within an action body' if $body =~ /:\[|:\+|/;
|
||||
fatal_error 'Interface names cannot appear in the DEST column within an action body' if $body =~ /:\[|:\+/;
|
||||
|
||||
if ( $invocation =~ /:\[|:\+/ ) {
|
||||
$invocation =~ s/:.*//;
|
||||
@ -5436,7 +5436,7 @@ sub process_snat1( $$$$$$$$$$$$ ) {
|
||||
#
|
||||
if ( $inaction ) {
|
||||
$destnets = $dest;
|
||||
assert( $param =~ /^(.*)|/ );
|
||||
assert( $param =~ /^(.*)\|/ );
|
||||
$interfaces=$1;
|
||||
} elsif ( $family == F_IPV4 ) {
|
||||
if ( $dest =~ /^([^:]+)::([^:]*)$/ ) {
|
||||
|
Loading…
Reference in New Issue
Block a user