This is a discussion on Re: snmpgetnext with multiple varbindes problem within the SNMP Coders forums, part of the Networking and Network Related category; >>>>> On Thu, 23 Feb 2006 10:21:28 +0530, <kanda.samy@wipro.com> ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
>>>>> On Thu, 23 Feb 2006 10:21:28 +0530, <kanda.samy@wipro.com> said:
nanda> To iterate over the var binds, you can use kanda> var = var->next_variable; No!!!! you shouldn't iterate over that variable. The main incoming SNMP request may contain variables outside the scope of the current module. Instead, loop over the request->request_next loop instead because that is a list of only the variables that you should be handling. -- Wes Hardaker Sparta, Inc. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=...720&dat=121642 _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/...et-snmp-coders |
![]() |
| Thread Tools | |
| Display Modes | |
|
|