On 20/09/2007, Anuradha A- TLS, Chennai. <[EMAIL PROTECTED]> wrote: > I generated the .c and .h files using "mib2c.create-dataset.conf" for a > table with a integer as index. (only one index for the table) > > The GETNEXT on the table works correctly , but the GET fails for some > reason. (always returns a null). > > It doesn't reach my handler method at all for the GET request, but reaches > my handler method for GETNEXT. > > Could you please throw some light on this issue?
How are you populating the contents of the table? Remember that the 'dataset' helper assumes that it knows all the valid rows, and will attempt to fulfil the request itself. It only calls your handler to allow for last-minute amendments of the value that it has set up internally. If the handler knows that a particular row doesn't exist, then it won't call your handler. Dave ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
