mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-15 12:14:32 +01:00
Used normalized names in requires list
This commit is contained in:
parent
a51eac91b0
commit
37a383ea4d
@ -824,10 +824,13 @@ sub process_rule_common ( $$$$$$$$$$$$$$$$ ) {
|
||||
# Handle actions
|
||||
#
|
||||
if ( $actiontype & ACTION ) {
|
||||
#
|
||||
# Create the action:level:tag:param tupple.
|
||||
#
|
||||
$normalized_target = normalize_action( $basictarget, $loglevel, $param );
|
||||
|
||||
if ( $inaction1 ) {
|
||||
add_requiredby( $target , $inaction1 );
|
||||
add_requiredby( $normalized_target , $inaction1 );
|
||||
} else {
|
||||
if ( my $ref = use_action( $normalized_target ) ) {
|
||||
new_nat_chain $ref->{name} if $actiontype & ( NATRULE | NONAT );
|
||||
|
Loading…
Reference in New Issue
Block a user