More $minroot changes

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2017-12-22 13:58:38 -08:00
parent 02caeb5aa0
commit cfd02c1bb6
No known key found for this signature in database
GPG Key ID: 96E6B3F2423A4D10

View File

@ -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
#