This is a patch to patch 2900078 which fixed and broken sysObjectID.
The patch suggestion comes from Fulko Hew via -coders discussion and
works for me.

        Modified net-snmp/agent/mibgroup/mibII/system_mib.c
diff --git a/net-snmp/agent/mibgroup/mibII/system_mib.c 
b/net-snmp/agent/mibgroup/mibII/system_mib.c
index 22a86a5..3939952 100644
--- a/net-snmp/agent/mibgroup/mibII/system_mib.c
+++ b/net-snmp/agent/mibgroup/mibII/system_mib.c
@@ -336,7 +336,7 @@ init_system_mib(void)
                 HANDLER_CAN_RONLY),
             netsnmp_init_watcher_info6(
                &sysObjectID_winfo, sysObjectID, 0, ASN_OBJECT_ID,
-                WATCHER_MAX_SIZE | WATCHER_SIZE_IS_PTR | 
WATCHER_SIZE_UNIT_OIDS,
+                WATCHER_MAX_SIZE | WATCHER_SIZE_IS_PTR,
                 MAX_OID_LEN, &sysObjectIDByteLength));
     }
     {


-- 
Wes Hardaker
Please mail all replies to [email protected]

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to