From 32c475193fff40702cfc80f440d4048247fa8424 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Mon, 21 Jan 2013 11:50:46 -0800 Subject: [PATCH] Another fix for RELATED_DISPOSITION Signed-off-by: Tom Eastep --- Shorewall/Perl/Shorewall/Rules.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall/Perl/Shorewall/Rules.pm b/Shorewall/Perl/Shorewall/Rules.pm index fd5a6edf6..41da158ab 100644 --- a/Shorewall/Perl/Shorewall/Rules.pm +++ b/Shorewall/Perl/Shorewall/Rules.pm @@ -881,7 +881,7 @@ sub finish_chain_section ($$$) { $config{RELATED_DISPOSITION}, '' ); - $related_target = ensure_audit_chain( $related_target ) if $targets{$related_target} & AUDIT; + $related_target = ensure_audit_chain( $related_target ) if ( $targets{$related_target} || 0 ) & AUDIT; add_ijump( $relatedref, g => $related_target );