Hi
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)
I did follow the steps as in the example "data_set.c".
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?
The table is indexed by an integer and I have 4 instances in an array that I maintain.(eg indexes are 2002, 2003, 2004, 2005)
On debugging, I could find the flow as given below. Please correct me if I am wrong.
GETNEXT Debug
--------------------------
The "netsnmp_call_handler" invokes the following methods
bulk_to_next
table
table_data
netsnmp_table_data_set
helper handler
myTable
GET Debug
-----------------
The "netsnmp_call_handler" invokes the following methods on GET
bulk_to_next
table
It stops with "table". It does not reach table_data , netsnmp_table_data_set, or myTable.
Please help me to know what could be the reason and how to resolve it.
Thanks in advance
Thanks & Regards
Anuradha.A
DISCLAIMER: -----------------------------------------------------------------------------------------------------------------------
The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any mail and attachments please check them for viruses and defect. -----------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------- 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
