diff --git a/Shorewall-perl/Shorewall/Chains.pm b/Shorewall-perl/Shorewall/Chains.pm index b8f8b1631..35145b2d4 100644 --- a/Shorewall-perl/Shorewall/Chains.pm +++ b/Shorewall-perl/Shorewall/Chains.pm @@ -1234,7 +1234,7 @@ sub do_tos( $ ) { # sub match_source_dev( $ ) { my $interface = shift; - my $interfaceref = find_interface( $interface ); + my $interfaceref = known_interface( $interface ); if ( $interfaceref && $interfaceref->{options}{port} ) { "-i $interfaceref->{bridge} -m physdev --physdev-in $interface "; } else { @@ -1247,7 +1247,7 @@ sub match_source_dev( $ ) { # sub match_dest_dev( $ ) { my $interface = shift; - my $interfaceref = find_interface( $interface ); + my $interfaceref = known_interface( $interface ); if ( $interfaceref && $interfaceref->{options}{port} ) { if ( $capabilities{PHYSDEV_BRIDGE} ) { "-o $interfaceref->{bridge} -m physdev --physdev-is-bridged --physdev-out $interface ";