Correct Mangle Action Handling for second visit to the same action

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2016-03-18 15:25:52 -07:00
parent 7a18847c14
commit 6ed3861d76

View File

@ -4544,14 +4544,14 @@ sub process_mangle_rule1( $$$$$$$$$$$$$$$$$$ ) {
#
# Capture the name of the action chain
#
$target = $ref->{name};
} else {
#
# We've seen this tuple before
#
$target = $usedactions{$normalized_target}->{name};
$ref = $usedactions{$normalized_target};
}
$target = $ref->{name};
$commandref->{allowedchains} = $ref->{allowedchains};
}
};