forked from extern/shorewall_code
Shrink process_actions2 further.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
676af32ebc
commit
ac2e9cce64
@ -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($_);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user