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 row to the next. It moves through the list of varbinds in a single request. If you've run a "snmpwalk" command, then there will only be one varbind in each request, and 'requests->next' should always be NULL. > is there a way to reset the table request once this occurs. How have you implemented the table? What helpers have you used? The row of the table to use should be determined by the current index value, and nothing else. Relying on this always being walked in order is Just Plain Wrong. Dave ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users