mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-24 15:18:53 +01:00
Correct error message ( s/\*/+/ )
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
46c8147521
commit
71fb1a8cbd
@ -5394,7 +5394,7 @@ sub process_snat1( $$$$$$$$$$$$ ) {
|
|||||||
# Next, parse the DEST column
|
# Next, parse the DEST column
|
||||||
#
|
#
|
||||||
if ( $inaction ) {
|
if ( $inaction ) {
|
||||||
fatal_error q('*' is not allowed within an action body) if $pre_nat;
|
fatal_error q('+' is not allowed within an action body) if $pre_nat;
|
||||||
$destnets = $dest;
|
$destnets = $dest;
|
||||||
} elsif ( $family == F_IPV4 ) {
|
} elsif ( $family == F_IPV4 ) {
|
||||||
if ( $dest =~ /^([^:]+)::([^:]*)$/ ) {
|
if ( $dest =~ /^([^:]+)::([^:]*)$/ ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user