@cryptotaxi247 / netdata-1 / commits / 060439155

minimum /proc/net/snmp IcmpMsg line is 2 words, not 3

Costa Tsaousis (ktsaou) committed Sep 10, 2018 at 15:25 UTC 0604391555557703d6d0b303740bbd9323ec7686
1 file changed +2 -2
src/proc_net_snmp.c
+2 -2
@@ -526,8 +526,8 @@ int do_proc_net_snmp(int update_every, usec_t dt) {
526 }
527
528 words = procfile_linewords(ff, l);
529 - if(words < 3) {
530 - error("Cannot read /proc/net/snmp IcmpMsg line. Expected 3+ params, read %zu.", words);
529 + if(words < 2) {
530 + error("Cannot read /proc/net/snmp IcmpMsg line. Expected 2+ params, read %zu.", words);
531 continue;
532 }
533