Remove propvirtual from i_ignore() so we capture VLAN interfaces and their associated MACs.
This commit is contained in:
@@ -135,7 +135,7 @@ sub i_ignore {
|
|||||||
foreach my $if (keys %$i_type){
|
foreach my $if (keys %$i_type){
|
||||||
my $type = $i_type->{$if};
|
my $type = $i_type->{$if};
|
||||||
$i_ignore{$if}++
|
$i_ignore{$if}++
|
||||||
if $type =~ /(loopback|propvirtual|other|cpu)/i;
|
if $type =~ /(loopback|other|cpu)/i;
|
||||||
}
|
}
|
||||||
|
|
||||||
return \%i_ignore;
|
return \%i_ignore;
|
||||||
|
|||||||
Reference in New Issue
Block a user