On Wed, 26 May 2004 17:18:06 +1200 Richard wrote: RL> I am running net-snmp 5.1.1 and I appear to be seeing looping in the AgentX RL> subagent code when I have an empty table using iterators. RL> RL> Basically we have a master agent handling most of out SNMP requests with a RL> couple of small AgentX subagents. One of these contains a table of alarms, RL> hopefully this will sometimes be empty :-) Unfortunately if I try to access RL> the table when empty using getnext requests I get an infinite loop RL> repeatedly calling out table handler. All is well if I ask for a single RL> column but if I request more than one column the loop occurs.
This is a known issue. Try the attached patch. -- Robert Story; NET-SNMP Junkie <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp> Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users> You are lost in a twisty maze of little standards, all different.
iterator.pat
Description: Binary data
