On Wed, 17 Nov 2004 22:41:50 +0100 Magnus wrote: MF> On Wed, Nov 17, 2004 at 03:39:09PM -0500, Robert Story wrote: MF> > On Wed, 17 Nov 2004 20:46:01 +0100 Magnus wrote: MF> > MF> It seems as if netsnmp_register_instance doesn't set the MF> > MF> FULLY_QUALIFIED_INSTANCE flag on the registration and further it MF> > MF> looks as if the handler interface doesn't support sending flags with MF> > MF> the object registration at all as it uses a constant 0 for the flags MF> > MF> parameter in netsnmp_register_handler. MF> > MF> > What problem does this behavior cause? MF> MF> When used in a AgentX subagent the INSTANCE_REGISTRATION bit won't be set, MF> this in turn means that the master agent thinks it have got a subtree MF> registration so during GETNEXT traversal we end up with an extra call to MF> each subagent.
Ah, ok. That sounds like a bug to me. The fix should probably be a new function with a parameter for the flags which calls the existing function. Write up a bug report and we should be able to get to it for 5.2.1, and 5.1.3. -- 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. ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Net-snmp-coders mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
