mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-22 22:25:23 +00:00
Fix interface detection
This commit is contained in:
parent
42fd0b1a2c
commit
522104afc2
1 changed files with 1 additions and 0 deletions
|
@ -1095,6 +1095,7 @@ sub get_interfaces
|
||||||
my $if;
|
my $if;
|
||||||
while (defined ($if = $ifdir->read))
|
while (defined ($if = $ifdir->read))
|
||||||
{
|
{
|
||||||
|
next unless -d "$ifpath/$if";
|
||||||
next if $if =~ m/\./;
|
next if $if =~ m/\./;
|
||||||
unless($if =~ m/$include/)
|
unless($if =~ m/$include/)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue