Menu

#1021 net-snmp-5.5 patch for sysObjectID watch fix

closed
None
5
2012-11-09
2009-11-18
No

When you get the sysObjectID from net-snmp-5.5 it will return only 1.3 instead of the whole enterprise OID. This is because in agent/mibgroup/mibII/system_mib.c the sysObjectIDLength is in oid units instead of sizeof units. This patch adds a sysObjectID_sizeof variable and updates it to sysObjectIDLength * sizeof(oid) when setting default during startup and when sysObjectID is set in a config file.

Discussion

  • Darcy Watkins

    Darcy Watkins - 2009-11-18
     
  • Magnus Fromreide

    I appreciate the patch and there is a bug but I will do an alternate solution.

     
  • Magnus Fromreide

    See the solution of bug # 2900078 in revision 17825 which should handle this.

     

Log in to post a comment.