On Wed, 20 Oct 2004 11:20:51 +0200 (MEST) [EMAIL PROTECTED] wrote: ZD> The two different tables reside in two different Mibs, i call it MibA and ZD> MibB. But, they both have the same two Indexes ID1 and ID2. ZD> I used the mib2c-Tool with the option -c mib2c.create-dataset and this tool ZD> generates two nice .c and two nice .h Files.e: ZD> ZD> snmpset ... MibA::string.3.3 s "Hello" MibB::integ.3.3 i 123 <- works ZD> snmpset ... MibB::integ.3.3 i 123 MibA::string.3.3 s "Hello" <- !works ZD> ZD> Error in packet. ZD> Reason: wrongType (The set datatype does not match the data type the agent ZD> expects) ZD> Failed object: MibA::string.3.3 ZD> ZD> I am really confused, because all other statements work.
I'm really confused too! The same request, but different varbind order should work fine. I would expect both to fail. I looked at the code, and I see the problem. I should have a patch shortly. -- Robert Story; NET-SNMP Junkie <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. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Net-snmp-coders mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
