Apply pi-rho's patch for rpfilter.

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2014-06-06 10:04:42 -07:00
parent 4e33948844
commit 8657dd97f7

View File

@ -867,10 +867,10 @@ sub add_common_rules ( $ ) {
} }
} }
for ( option_chains( $interface ) ) { }
add_ijump( $filter_table->{$_}, j => $dynamicref, @state ) if $dynamicref; for ( option_chains( $interface ) ) {
add_ijump( $filter_table->{$_}, j => 'ACCEPT', state_imatch $faststate )->{comment} = '' if $config{FASTACCEPT}; add_ijump( $filter_table->{$_}, j => $dynamicref, @state ) if $dynamicref;
} add_ijump( $filter_table->{$_}, j => 'ACCEPT', state_imatch $faststate )->{comment} = '' if $config{FASTACCEPT};
} }
} }