Blame SOURCES/net-snmp-5.7.3-iterator-fix.patch

700982
diff -urNp old/agent/mibgroup/host/data_access/swrun.c new/agent/mibgroup/host/data_access/swrun.c
700982
--- old/agent/mibgroup/host/data_access/swrun.c	2017-07-18 09:44:00.626109526 +0200
700982
+++ new/agent/mibgroup/host/data_access/swrun.c	2017-07-19 15:27:50.452255836 +0200
700982
@@ -102,6 +102,10 @@ swrun_count_processes_by_name( char *nam
700982
         return 0;    /* or -1 */
700982
 
700982
     it = CONTAINER_ITERATOR( swrun_container );
700982
+    if((entry  = (netsnmp_swrun_entry*)ITERATOR_FIRST( it )) != NULL) {
700982
+        if (0 == strcmp( entry->hrSWRunName, name ))
700982
+            i++;
700982
+    }
700982
     while ((entry = (netsnmp_swrun_entry*)ITERATOR_NEXT( it )) != NULL) {
700982
         if (0 == strcmp( entry->hrSWRunName, name ))
700982
             i++;