forked from extern/shorewall_code
Add an <action> member to the chain table
This commit is contained in:
parent
e52feb7da7
commit
e8de4ce563
@ -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;
|
||||
|
@ -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> => ...
|
||||
# }
|
||||
|
Loading…
Reference in New Issue
Block a user