Correct error message ( s/\*/+/ )

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2016-10-27 14:32:43 -07:00
parent 46c8147521
commit 71fb1a8cbd
No known key found for this signature in database
GPG Key ID: 96E6B3F2423A4D10

View File

@ -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 =~ /^([^:]+)::([^:]*)$/ ) {