mirror of
https://gitlab.com/shorewall/code.git
synced 2025-08-15 02:38:17 +02:00
More $minroot changes
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
@ -725,7 +725,7 @@ sub interface_match( $$ ) {
|
|||||||
return 1 if $piface eq $cifaceref->{bridge};
|
return 1 if $piface eq $cifaceref->{bridge};
|
||||||
return 1 if $ciface eq $pifaceref->{bridge};
|
return 1 if $ciface eq $pifaceref->{bridge};
|
||||||
|
|
||||||
if ( $minroot ) {
|
if ( defined $minroot ) {
|
||||||
if ( $piface =~ /\+$/ ) {
|
if ( $piface =~ /\+$/ ) {
|
||||||
my $root = $pifaceref->{root};
|
my $root = $pifaceref->{root};
|
||||||
my $rlength = length( $root );
|
my $rlength = length( $root );
|
||||||
@ -1637,7 +1637,7 @@ sub known_interface($)
|
|||||||
|
|
||||||
my $iface = $interface;
|
my $iface = $interface;
|
||||||
|
|
||||||
if ( $minroot ) {
|
if ( defined $minroot ) {
|
||||||
#
|
#
|
||||||
# We have wildcard interfaces -- see if this interface matches one of their roots
|
# We have wildcard interfaces -- see if this interface matches one of their roots
|
||||||
#
|
#
|
||||||
|
Reference in New Issue
Block a user