Re: Question regarding Tables in net-snmp

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAKoMtGZuQRONm_awxHovMfqLzUNaMJvK1SsUHt+ENQvXhTMYQg@mail.gmail.com>
On 3 January 2013 18:54, Reza Salehi <[email protected]> wrote:
> I don't have any get_first or get_next in my code.

I'm not sure I believe that.
You said that you were using the 'table_iterator' helper.
As part of that, mib2c will generate three routines
(which you will have needed to tweak to match your environment):
   -  the table handler
   -  a routine to identify the first row in the table
   -  a routine to identify each subsequent row in the table

It's these latter two that I was referring to.
They *must* be present, if the walk is to succeed.

Dave

------------------------------------------------------------------------------
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.