>>>>> On Wed, 06 Oct 2004 15:45:03 +0100, Dave Shield <[EMAIL PROTECTED]> said:

Dave> When I asked Wes about this, he said that he'd started by using the
Dave> SNMP_ERR_xxx value as the return value from the function, and later
Dave> moved to setting this in the request structure.

Yep.  I wanted separate errors per varbind, and by having one handler
return an error for multiple varbinds it was too generic.


Dave> When I worked through the code, I got the distinct impression
Dave> that the return value was ignored completely.

Yep.  Though someday I think Robert is right.  We should probably trap
that error and treat it as a handler-level problem...

You *SHOULD* set the error in the request, per standard method, and
return SNMP_ERR_NOERROR!

-- 
Wes Hardaker
Sparta


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to