Shrink process_actions2 further.

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2011-05-20 10:28:30 -07:00
parent 676af32ebc
commit ac2e9cce64

View File

@ -1489,15 +1489,11 @@ sub process_actions2 () {
my $ref;
for ( map normalize_action_name $_ , ( grep $auditactions{$_}, ( map $config{$_}, @auditoptions ) ) ) {
if ( $ref = use_action( $_ ) ) {
process_action( $ref );
}
process_action( $ref ) if $ref = use_action($_);
}
for ( map normalize_action_name $_, ( grep ! ( $targets{$_} & BUILTIN ), keys %policy_actions ) ) {
if ( $ref = use_action( $_ ) ) {
process_action( $ref );
}
process_action( $ref ) if $ref = use_action($_);
}
}