>>>>> On Thu, 23 Feb 2006 10:21:28 +0530, <[EMAIL PROTECTED]> 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=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to