From 39f214208a1380bb2a52044893f6446ef4b051da Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Thu, 29 Dec 2011 17:57:39 -0800 Subject: [PATCH] Fix silly bug in the new option chain implementation Signed-off-by: Tom Eastep --- Shorewall/Perl/Shorewall/Chains.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall/Perl/Shorewall/Chains.pm b/Shorewall/Perl/Shorewall/Chains.pm index af1a37f20..7c6b80508 100644 --- a/Shorewall/Perl/Shorewall/Chains.pm +++ b/Shorewall/Perl/Shorewall/Chains.pm @@ -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 ) : () ); } }