Correct "Invalid Policy Action" error message

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2018-02-19 10:04:18 -08:00
parent 9a83365986
commit 0cb4a5c202
No known key found for this signature in database
GPG Key ID: 96E6B3F2423A4D10

View File

@ -580,7 +580,7 @@ sub process_policy_actions( $$$ ) {
for my $paction ( split_list3( $pactions, 'Policy Action' ) ) { for my $paction ( split_list3( $pactions, 'Policy Action' ) ) {
my ( $action, $level, $remainder ) = split( /:/, $paction, 3 ); my ( $action, $level, $remainder ) = split( /:/, $paction, 3 );
fatal_error "Invalid policy action ($paction:$level:$remainder)" if defined $remainder; fatal_error "Invalid policy action ($paction)" if defined $remainder;
push @pactions, process_policy_action( $originalpolicy, $policy, $action, $level ); push @pactions, process_policy_action( $originalpolicy, $policy, $action, $level );
} }