> There are two returns in this ip_handler function.
> Why are other SNMP_NOSUCHOBJECT cases using "continue" ?

Because 'noSuchObject' is an SNMP *exception* not an error.
If there are other varbinds in the same request that are
being processed by the same handler, then it's premature
to return immediately.

It's quite possible that at least some of the return
statements are incorrect.

Dave



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to