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
|