From 8657dd97f7dfcccff1c17c452f13140cf737bbca Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Fri, 6 Jun 2014 10:04:42 -0700 Subject: [PATCH] Apply pi-rho's patch for rpfilter. Signed-off-by: Tom Eastep --- Shorewall/Perl/Shorewall/Misc.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Shorewall/Perl/Shorewall/Misc.pm b/Shorewall/Perl/Shorewall/Misc.pm index c1cdca468..546318dc8 100644 --- a/Shorewall/Perl/Shorewall/Misc.pm +++ b/Shorewall/Perl/Shorewall/Misc.pm @@ -867,10 +867,10 @@ sub add_common_rules ( $ ) { } } - for ( option_chains( $interface ) ) { - add_ijump( $filter_table->{$_}, j => $dynamicref, @state ) if $dynamicref; - add_ijump( $filter_table->{$_}, j => 'ACCEPT', state_imatch $faststate )->{comment} = '' if $config{FASTACCEPT}; - } + } + for ( option_chains( $interface ) ) { + add_ijump( $filter_table->{$_}, j => $dynamicref, @state ) if $dynamicref; + add_ijump( $filter_table->{$_}, j => 'ACCEPT', state_imatch $faststate )->{comment} = '' if $config{FASTACCEPT}; } }