Blame SOURCES/net-snmp-5.8-proxy-getnext.patch

17a0ab
diff -ruNp a/agent/mibgroup/ucd-snmp/proxy.c b/agent/mibgroup/ucd-snmp/proxy.c
17a0ab
--- a/agent/mibgroup/ucd-snmp/proxy.c	2020-06-10 09:24:24.933347483 +0200
17a0ab
+++ b/agent/mibgroup/ucd-snmp/proxy.c	2020-06-10 09:25:49.007148474 +0200
17a0ab
@@ -460,7 +460,7 @@ proxy_handler(netsnmp_mib_handler *handl
17a0ab
         if (sp->base_len &&
17a0ab
             reqinfo->mode == MODE_GETNEXT &&
17a0ab
             (snmp_oid_compare(ourname, ourlength,
17a0ab
-                              sp->base, sp->base_len) < 0)) {
17a0ab
+                              sp->name, sp->name_len) < 0)) {
17a0ab
             DEBUGMSGTL(( "proxy", "request is out of registered range\n"));
17a0ab
             /*
17a0ab
              * Create GETNEXT request with an OID so the