FWIW I tracked down my problem to a line of code that was added to
snmp_api.h in v5.2. For some reason the following line adds 8 bytes to
sizeof(struct snmp_session) and screws up the rest of the data following
it.
At line 205 this was added.
/** My Domain name or dotted IP address, 0 for default */
char *localname;
I don't really understand why but it appears that the alignment gets
thrown off. Anyway, I just comment out that line and everything works
fine with my extended MIB.
Not sure of the implications but it seems like it should be looked at by
someone in the know.
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders