From a6ccd53fe0b0e6af017527eabe15f1aaf42014ee Mon Sep 17 00:00:00 2001 From: Tom Eastep <teastep@shorewall.net> Date: Mon, 4 Feb 2013 15:17:49 -0800 Subject: [PATCH] Unconditionally use '-j' to branch to a state chain or DISPOSITION. Signed-off-by: Tom Eastep <teastep@shorewall.net> --- Shorewall/Perl/Shorewall/Rules.pm | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Shorewall/Perl/Shorewall/Rules.pm b/Shorewall/Perl/Shorewall/Rules.pm index 87a65cf57..092cb7db3 100644 --- a/Shorewall/Perl/Shorewall/Rules.pm +++ b/Shorewall/Perl/Shorewall/Rules.pm @@ -953,11 +953,7 @@ sub finish_chain_section ($$$) { $target = ensure_audit_chain( $target ) if ( $targets{$target} || 0 ) & AUDIT; - if ( $statetable{$_}[2] ) { - add_ijump( $chainref, g => $target, state_imatch $_ ); - } else { - add_ijump( $chainref, j => $target, state_imatch $_ ); - } + add_ijump( $chainref, j => $target, state_imatch $_ ); } delete $state{$_};