forked from extern/shorewall_code
Logically OR builtin definitions from the actions file if the builtin exists
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
f7bbac6ea8
commit
6c990a7253
@ -1797,7 +1797,13 @@ sub process_actions() {
|
||||
# For backward compatibility, we assume that user-defined builtins are valid in the filter table
|
||||
#
|
||||
$actiontype |= FILTER_TABLE if $filter || ! ($mangle || $raw || $nat);
|
||||
|
||||
if ( $builtin_target{$action} ) {
|
||||
$builtin_target{$action} |= $actiontype;
|
||||
} else {
|
||||
$builtin_target{$action} = $actiontype;
|
||||
}
|
||||
|
||||
$targets{$action} = $actiontype;
|
||||
} else {
|
||||
fatal_error "Table names are only allowed for builtin actions" if $mangle || $raw || $nat || $filter;
|
||||
|
Loading…
Reference in New Issue
Block a user