mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-16 18:48:35 +01:00
Remove absurd test
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
9612044933
commit
766771d812
@ -1403,11 +1403,12 @@ sub add_interface_jumps {
|
|||||||
|
|
||||||
if ( $interfaceref->{options}{port} ) {
|
if ( $interfaceref->{options}{port} ) {
|
||||||
my $bridge = $interfaceref->{bridge};
|
my $bridge = $interfaceref->{bridge};
|
||||||
|
|
||||||
add_ijump ( $filter_table->{forward_chain $bridge},
|
add_ijump ( $filter_table->{forward_chain $bridge},
|
||||||
j => 'ACCEPT',
|
j => 'ACCEPT',
|
||||||
imatch_source_dev( $interface, 1),
|
imatch_source_dev( $interface, 1),
|
||||||
imatch_dest_dev( $interface, 1)
|
imatch_dest_dev( $interface, 1)
|
||||||
) unless $interfaceref->{nets} || ! $interfaceref->{options}{bridge};
|
) unless $interfaceref->{nets};
|
||||||
|
|
||||||
add_ijump( $filter_table->{forward_chain $bridge} ,
|
add_ijump( $filter_table->{forward_chain $bridge} ,
|
||||||
j => $forwardref ,
|
j => $forwardref ,
|
||||||
|
Loading…
Reference in New Issue
Block a user