File net-snmp-5.7.2-helpers-table-skip-if-next-handler-called.patch of Package net-snmp.9067
diff -Nurp net-snmp-5.7.2.1-orig/agent/helpers/table.c net-snmp-5.7.2.1/agent/helpers/table.c
--- net-snmp-5.7.2.1-orig/agent/helpers/table.c 2014-02-20 01:36:42.000000000 +0100
+++ net-snmp-5.7.2.1/agent/helpers/table.c 2018-10-09 00:47:04.858828043 +0200
@@ -406,6 +406,8 @@ table_helper_handler(netsnmp_mib_handler
if (reqinfo->mode == MODE_GET)
table_helper_cleanup(reqinfo, request,
SNMP_NOSUCHOBJECT);
+ else
+ request->processed = 1; /* skip if next handler called */
continue;
}
@@ -483,6 +485,8 @@ table_helper_handler(netsnmp_mib_handler
#endif /* NETSNMP_NO_WRITE_SUPPORT */
table_helper_cleanup(reqinfo, request,
SNMP_NOSUCHOBJECT);
+ else
+ request->processed = 1; /* skip if next handler called */
continue;
}
/*