forked from extern/shorewall_code
Fix a couple of Mangle Action blunders
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
8d657775af
commit
147c7e284f
@ -1343,7 +1343,7 @@ sub createlogactionchain( $$$$$$ ) {
|
||||
|
||||
fatal_error "Too many invocations of Action $action" if $actionref->{actchain} > 99;
|
||||
} else {
|
||||
$usedactions{$normalized} = $chainref = new_standard_chain $chain;
|
||||
$usedactions{$normalized} = $chainref = new_action_chain( $table, $chain );
|
||||
}
|
||||
|
||||
$chainref->{action} = $normalized;
|
||||
@ -4436,7 +4436,6 @@ sub process_mangle_rule1( $$$$$$$$$$$$$$$$$$ ) {
|
||||
maxparams => 16 ,
|
||||
function => sub() {
|
||||
fatal_error( qq(Action $cmd may not be used in the mangle file) ) unless $actiontype & MANGLE_TABLE;
|
||||
fatal_error q('$FW' may not be specified within an action body) if $chainref;
|
||||
#
|
||||
# Create the action:level:tag:param tuple.
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user