a1810f2a01
The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/net-snmp#be26e76db31e227dcc75fe872ad69f39629713ad
14 lines
652 B
Diff
14 lines
652 B
Diff
diff --git a/agent/mibgroup/ucd-snmp/proxy.c b/agent/mibgroup/ucd-snmp/proxy.c
|
|
index e0ee96b..8abe7a3 100644
|
|
--- a/agent/mibgroup/ucd-snmp/proxy.c
|
|
+++ b/agent/mibgroup/ucd-snmp/proxy.c
|
|
@@ -463,7 +463,7 @@ proxy_handler(netsnmp_mib_handler *handler,
|
|
if (sp->base_len &&
|
|
reqinfo->mode == MODE_GETNEXT &&
|
|
(snmp_oid_compare(ourname, ourlength,
|
|
- sp->base, sp->base_len) < 0)) {
|
|
+ sp->name, sp->name_len) < 0)) {
|
|
DEBUGMSGTL(( "proxy", "request is out of registered range\n"));
|
|
/*
|
|
* Create GETNEXT request with an OID so the
|