Re: snmpwalk table problem

2005-06-03 Thread Dave Shield
On Wed, 2005-06-01 at 21:55, Greg L Robillard wrote: > for (request = requests; request; request = request->next) { [snip] > What is happening is the request->next continues to move through > the table That's a misunderstanding. "request->next" doesn't move through the table, from one r

Re: snmpwalk table problem

2005-06-02 Thread Wes Hardaker
> On Wed, 01 Jun 2005 15:55:48 -0500, Greg L Robillard <[EMAIL PROTECTED]> > said: Greg> The walk begins with an index of 0, then a 1. For some reason, Greg> the next occurrance triggers a request->processed = 1 with an Greg> index of 0. The remaining indexes are 1,2,3,4,5,6. Normal. Gr

snmpwalk table problem

2005-06-01 Thread Greg L Robillard
I am executing the following command snmpwalk -v2c -m /myMib.my -c public localhost enterprises Here is a code snippet of my handler for (request = requests; request; request = request->next) { var = request->requestvb; if (request->processed != 0) { dprintf("request->processed failed\