Hi Dave, Thanks for your reply. Well I found why the registestration was happening twice. It was because netsnmp_register_scalar function was calling netsnmp_register_handler internally. So I removed netsnmp_register_scalar call which worked fine for me.
> ----- Original Message ----- > From: "Dave Shield" <[EMAIL PROTECTED]> > To: "NetSnmp User" <[EMAIL PROTECTED]> > Subject: Re: registering pdu failed: 263! > Date: Wed, 16 Jan 2008 22:30:03 +0000 > > > On 15/01/2008, NetSnmp User <[EMAIL PROTECTED]> wrote: > > My subagent was designed something like this: > > I used mib2c compiler to generate c files.... > > [code snipped] > > OK - so how is this module then included within the subagent? > How did you compile the subagent? > > Dave > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Net-snmp-users mailing list > [email protected] > Please see the following page to unsubscribe or change other options: > https://lists.sourceforge.net/lists/listinfo/net-snmp-users > = -- _______________________________________________ Search for products and services at: http://search.mail.com ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
