diff --git a/src/os/win32/win32_sigar.c b/src/os/win32/win32_sigar.c index 174f17d0..bd329260 100644 --- a/src/os/win32/win32_sigar.c +++ b/src/os/win32/win32_sigar.c @@ -2295,9 +2295,12 @@ sigar_net_interface_list_get(sigar_t *sigar, else if (ifr->dwType == MIB_IF_TYPE_LOOPBACK) { sprintf(name, "lo%d", lo++); } - else { + else if (ifr->dwType == MIB_IF_TYPE_ETHERNET) { sprintf(name, "eth%d", eth++); } + else { + continue; /*XXX*/ + } if (iflist) { iflist->data[iflist->number++] = strdup(name);