Correctly handle audited RELATED_DISPOSITION

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2013-01-21 09:03:27 -08:00
parent 4a354ba5a2
commit c820c54f41

View File

@ -881,6 +881,9 @@ sub finish_chain_section ($$$) {
$relatedref,
$config{RELATED_DISPOSITION},
'' );
$related_target = ensure_audit_chain( $related_target ) if $targets{$related_target} & AUDIT;
add_ijump( $relatedref, g => $related_target );
$related_target = $relatedref->{name} unless $relatedchain;