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.
Returning NULL indicates that the iteration hook has reached the end of the table. If you do this too early, then it's not surprising if the snmpwalk can't retrieve the whole table. I'll ask again - how are you updating the 'my_loop_context' pointer? Dave ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders