1
0
Fork 0
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:
Farhad Shahbazi 2013-06-18 15:04:00 +02:00
parent 42fd0b1a2c
commit 522104afc2

View file

@ -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/)
{ {