[erlang-patches] SNMP: fix wrong error code for invalid get requests

Henrik Nord henrik@REDACTED
Fri Sep 7 10:49:23 CEST 2012


I have added your patch to 'pu'
Thank you for your contribution!

On 09/03/2012 04:29 PM, Stefan Zegenhagen wrote:
> Dear all,
>
> when an SNMP get request references an existing scalar variable without
> instance OID (e.g. sysName instead of sysName.0), the erlang SNMP agent
> returns a noSuchObject error instead of the correct noSuchInstance
> error. Some SNMP test suites flag this as error.
>
> The patch attached to this e-mail solves the problem by letting the OID
> lookup routine return the correct noSuchInstance error.
>
> Kind regards,
>
>
>
> _______________________________________________
> erlang-patches mailing list
> erlang-patches@REDACTED
> http://erlang.org/mailman/listinfo/erlang-patches

-- 
/Henrik Nord Erlang/OTP

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-patches/attachments/20120907/cb00fcdb/attachment.htm>


More information about the erlang-patches mailing list