Re: snmpgetnext with multiple varbindes problem

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> ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-07-2006
Wes Hardaker
 
Posts: n/a
Default Re: snmpgetnext with multiple varbindes problem

>>>>> 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
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:10 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0