diff --git a/Shorewall/Perl/Shorewall/Zones.pm b/Shorewall/Perl/Shorewall/Zones.pm index 22a1bc8a6..bfc2fae6e 100644 --- a/Shorewall/Perl/Shorewall/Zones.pm +++ b/Shorewall/Perl/Shorewall/Zones.pm @@ -725,7 +725,7 @@ sub interface_match( $$ ) { return 1 if $piface eq $cifaceref->{bridge}; return 1 if $ciface eq $pifaceref->{bridge}; - if ( $minroot ) { + if ( defined $minroot ) { if ( $piface =~ /\+$/ ) { my $root = $pifaceref->{root}; my $rlength = length( $root ); @@ -1637,7 +1637,7 @@ sub known_interface($) my $iface = $interface; - if ( $minroot ) { + if ( defined $minroot ) { # # We have wildcard interfaces -- see if this interface matches one of their roots #