Fix silly bug in the new option chain implementation

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2011-12-29 17:57:39 -08:00
parent 6926bcdbb9
commit 39f214208a

View File

@ -5828,7 +5828,7 @@ sub add_interface_options( $ ) {
}
} else {
for my $interface ( @interfaces ) {
if ( ( $chain1ref = $filter_table->{forward_option_chain $interface} ) && @{$chain1ref->{rules}} ) {
if ( ( $chain1ref = $filter_table->{input_option_chain $interface} ) && @{$chain1ref->{rules}} ) {
add_ijump ( $chainref , j => $chain1ref->{name}, @interfaces > 1 ? imatch_source_dev( $interface ) : () );
}
}