mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-20 09:47:51 +02:00
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;
|
fatal_error "Too many invocations of Action $action" if $actionref->{actchain} > 99;
|
||||||
} else {
|
} else {
|
||||||
$usedactions{$normalized} = $chainref = new_standard_chain $chain;
|
$usedactions{$normalized} = $chainref = new_action_chain( $table, $chain );
|
||||||
}
|
}
|
||||||
|
|
||||||
$chainref->{action} = $normalized;
|
$chainref->{action} = $normalized;
|
||||||
@ -4436,7 +4436,6 @@ sub process_mangle_rule1( $$$$$$$$$$$$$$$$$$ ) {
|
|||||||
maxparams => 16 ,
|
maxparams => 16 ,
|
||||||
function => sub() {
|
function => sub() {
|
||||||
fatal_error( qq(Action $cmd may not be used in the mangle file) ) unless $actiontype & MANGLE_TABLE;
|
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.
|
# Create the action:level:tag:param tuple.
|
||||||
#
|
#
|
||||||
|
Loading…
x
Reference in New Issue
Block a user