Thanks.
Before seeing you answer, I was doing:
// Get index
instance = -1;
if(table_entry!=NULL) instance = table_entry->_Index;
// Validate instance
if(instance >= SNMP_CFG_NOTIFIED_NMS_MAX || instance < 0)
On 16 March 2012 19:39, Simon Chamlian wrote:
> In the request handler function:
> How can we get the instance of the request
> (i.e., the row number of the table) ?
The clean way:
for (request=requests; request; request=request->next) {
table_info = netsnmp_extract_table_info(reque
Hi,
In the request handler function:
int xxxTable_handler(
netsnmp_mib_handler *handler,
netsnmp_handler_registration *reginfo,
netsnmp_agent_request_info*reqinfo,
netsnmp_request_info *requests)
{
netsnmp_request_info *request;