> I'm not updating loop_context.
Then that's why you're going into an infinite loop.
The 'loop_context' parameter is how the iterator code
keeps track of how far it's got through the table.
If you don't update this value, it can't possibly
walk the table.
> This is my code.
>*my_loop_contex
EMAIL PROTECTED]>
To: Jordan Janeiro Lopes da Silva <[EMAIL PROTECTED]>
Cc: [email protected]
Sent: Mon, 25 Jul 2005 15:40:50 +0100
Subject: Re: table generated by mib2c.iterate with timeout
> On Mon, 2005-07-25 at 11:27 -0300, Jordan Janeiro Lopes da Silva wrot
On Mon, 2005-07-25 at 11:04 -0300, Jordan Janeiro Lopes da Silva wrote:
> > That sounds suspiciously like an infinite loop.
> Dave, you were right. I was debugging and saw that the problem is the
> get_next hook. Some code keeps calling the get_next in a infinite loop.
OK - the you probably need
On Mon, 2005-07-25 at 11:27 -0300, Jordan Janeiro Lopes da Silva wrote:
> Dave I'm sorry, I've forgotten to add the last part. The problem is when I
> return put_index_data, he keeps in a infinite loop. When I return NULL
> everything is "normal" and he is unable to return the rest of the data.
Re
Original Message ---
From: "Jordan Janeiro Lopes da Silva" <[EMAIL PROTECTED]>
To: Dave Shield <[EMAIL PROTECTED]>
Cc: [email protected]
Sent: Mon, 25 Jul 2005 11:04:06 -0300
Subject: Re: table generated by mib2c.iterate with timeout
> > On Su
> On Sun, 2005-07-24 at 09:57 -0300, Jordan Janeiro Lopes da Silva wrote:
> > I´ve generated a table using the script
> > mib2c.iterate.conf to generate my table.
> > when I query this agent, my response is "Timeout: no response
> > from localhost:" and the other terminal that executes the a
On Sun, 2005-07-24 at 09:57 -0300, Jordan Janeiro Lopes da Silva wrote:
> I´ve generated a table using the script
> mib2c.iterate.conf to generate my table.
> when I query this agent, my response is "Timeout: no response
> from localhost:" and the other terminal that executes the agent
> sto
Hi guys. I´ve got a strange error for 2 weeks and I´ve tried everything to
solve it, but nothing worked. I´m using net-snmp 5.0.10( release from 2005-
06-30) and I´m using suse linux 9.2. I´ve generated a table using the script
mib2c.iterate.conf to generate my table. I´ve filled everything with