On Mon, 9 Jan 2006 17:17:21 -0600 [EMAIL PROTECTED] wrote: EYC> I found a bug in parse_one_oid_index() in snmplib/mib.c, this function EYC> doesn't work when using ASN_PRIV_IMPLIED_OCTET_STR for MacAddress that is EYC> not the last object in the INDEX,
Yes, I actaully ran into that last week, and there is already a fix in CVS. It's a bit of a hack, and you have to git your hands dirty (ie dig into the internals a bit). You need the attached patch, and the the indexes passed in to table registration must have the val_len set for the appropriate varbind. How you get to this varbind depends on how your table is registered. -- NOTE: messages sent directly to me, instead of the lists, will be deleted unless they are requests for paid consulting services. Robert Story; NET-SNMP Junkie Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp> Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders> You are lost in a twisty maze of little standards, all different.
fixed-len-index-5.3.pat
Description: Binary data