Add an <action> member to the chain table

This commit is contained in:
Tom Eastep 2010-12-22 10:59:02 -08:00
parent e52feb7da7
commit e8de4ce563
2 changed files with 5 additions and 0 deletions

View File

@ -192,6 +192,8 @@ sub createlogactionchain( $$$$$ ) {
fatal_error "Too many invocations of Action $action" if $actionref->{actchain} > 99;
$chainref->{chain} = $chain;
unless ( $targets{$action} & BUILTIN ) {
dont_optimize $chainref;
@ -220,6 +222,8 @@ sub createsimpleactionchain( $ ) {
$usedactions{"$action:none::"} = $chainref;
$chainref->{chain} = $chain;
unless ( $targets{$action} & BUILTIN ) {
dont_optimize $chainref;

View File

@ -217,6 +217,7 @@ our $VERSION = '4.4_16';
# logchains => { <key1> = <chainref1>, ... }
# references => { <ref1> => <refs>, <ref2> => <refs>, ... }
# blacklist => <number of blacklist rules at the head of the rules array> ( 0 or 1 )
# action => <name of the action that generated this chain>
# } ,
# <chain2> => ...
# }