Tristan Colgate wrote: > I've been doing some work lately with using the mib2c perl support and > Support.pm and have hit a bit of a problem. The getnext table handling > breaks if the index is variable length (e.g. and oid or string index). > > The code expects to be able to zero out all the index oid components > and eventually match against something in the built up table of > handled oids, but if the length of the index has changed then the > additional zeroes will never match anything. > > As far as I can tell, a reasonable fix would be for mib2c to populate > the table with the base oid (rather than the base oid appended with a > zero per index), and then for the check for a handler to do a proper > parentage check). > > I'm not going to get a chance to work on this for a while but thought > I'd raise it here in-case anyone already has a fix.
Thanks for the bug report. Please submit it to http://www.net-snmp.org/bugs so it won't get lost. Cheers, Thomas ------------------------------------------------------------------------------ Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free "Love Thy Logs" t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
