From 766771d8129767907f584e7783177e8697cee934 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Mon, 30 Apr 2012 07:48:07 -0700 Subject: [PATCH] Remove absurd test Signed-off-by: Tom Eastep --- Shorewall/Perl/Shorewall/Misc.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Shorewall/Perl/Shorewall/Misc.pm b/Shorewall/Perl/Shorewall/Misc.pm index 1c5885254..5ba5f62d9 100644 --- a/Shorewall/Perl/Shorewall/Misc.pm +++ b/Shorewall/Perl/Shorewall/Misc.pm @@ -1403,11 +1403,12 @@ sub add_interface_jumps { if ( $interfaceref->{options}{port} ) { my $bridge = $interfaceref->{bridge}; + add_ijump ( $filter_table->{forward_chain $bridge}, j => 'ACCEPT', imatch_source_dev( $interface, 1), imatch_dest_dev( $interface, 1) - ) unless $interfaceref->{nets} || ! $interfaceref->{options}{bridge}; + ) unless $interfaceref->{nets}; add_ijump( $filter_table->{forward_chain $bridge} , j => $forwardref ,