1 --- net-snmp-5.1.2.orig/agent/mibgroup/mibII/interfaces.c
2 +++ net-snmp-5.1.2/agent/mibgroup/mibII/interfaces.c
5 char *stats, *ifstart = line;
7 + /* Ignore interfaces with no statistics. */
8 + if (strstr(line, "No statistics available."))
11 if (line[strlen(line) - 1] == '\n')
12 line[strlen(line) - 1] = '\0';
16 if ((scan_line_to_use == scan_line_2_2)
17 && !strstr(line, "No statistics available"))
20 "/proc/net/dev data format error, line ==|%s|",