On 05/10/06, Passera Pablo-APP015 <[EMAIL PROTECTED]> wrote:
> When the SA responds,.... it calls
> netsnmp_set_request_error(cache->reqinfo, requests, pdu->errstat); This
> function only marks as not delegated the first request in the request
> list, leaving the other requests as delegated. Which causes that the
> agent never respond to the snmpget application.
>
> The proposed solution would be to replace the
> netsnmp_set_request_error(cache->reqinfo, requests, pdu->errstat); line
> by
[snip]
What happens if you replace the final alternative in that errstat !=
NOERROR block with
{
netsnmp_handler_mark_requests_as_delegated(
requests, REQUEST_IS_NOT_DELEGATED);
netsnmp_set_request_error(cache->reqinfo, requests, pdu->errstat);
}
?
That'll probably associate the error with the wrong varbind, but does
it fix the basic problem?
Dave
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders