Thanks, however in "nsDemodEventsTable_get_next_entry" function, there
is no "reqinfo" that "netsnmp_set_request_error" expect to get as first
parameter.
Here's the function header:
static struct nsDemodEventsTable_entry *
nsDemodEventsTable_get_next_entry(netsnmp_handler_registration *reginfo,
netsnmp_request_info *request,
int column,
netsnmp_variable_list * indexes)
-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Dave Shield
Sent: Thursday, March 24, 2011 6:49 PM
To: Naama Bar Menachem
Cc: Net-SNMP users
Subject: Re: Raw-table doesn't work.
On 23 March 2011 14:40, Naama Bar Menachem
<[email protected]> wrote:
> I suppose that my getnext function is not handling right the case when
> we get to the end of the table.
> What am I doing wrong?
Try setting the varbind to have the error EndOfMibView
i.e.
netsnmp_set_request_error(reqinfo, request,
SNMP_ENDOFMIBVIEW);
I think that this should trigger the main table helper to start
again with the next column object (and the first row)
Dave
------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software
be a part of the solution? Download the Intel(R) Manageability Checker
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
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