forked from extern/shorewall_code
Correct "Invalid Policy Action" error message
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
9a83365986
commit
0cb4a5c202
@ -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 );
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user