forked from extern/shorewall_code
Allow builtin actions in xxx_DEFAULT settings.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
e45b96ca20
commit
686ca9d3a3
@ -551,7 +551,7 @@ sub process_default_action( $$$$ ) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$default = 'none';
|
$default = 'none';
|
||||||
} elsif ( ( $targets{$def} || 0 ) == ACTION ) {
|
} elsif ( ( $targets{$def} || 0 ) & ACTION ) {
|
||||||
$default = supplied $param ? normalize_action( $def, $level, $param ) :
|
$default = supplied $param ? normalize_action( $def, $level, $param ) :
|
||||||
$level eq 'none' ? normalize_action_name $def :
|
$level eq 'none' ? normalize_action_name $def :
|
||||||
normalize_action( $def, $level, '' );
|
normalize_action( $def, $level, '' );
|
||||||
|
Loading…
Reference in New Issue
Block a user