Hi Dirk,
OK i see. Thank you for letting me know. I will see if i can look further into this if i find some time. Can you respond back when you have more information about this? Thank you in advance. Marco ________________________________ Van: lwip-users <[email protected]> namens Dirk Ziegelmeier <[email protected]> Verzonden: maandag 12 september 2016 12:32 Aan: Mailing list for lwIP users Onderwerp: Re: [lwip-users] SNMPv2 failed SetRequest response Hello Marco, I cannot check this at the moment, and the guy who actually wrote the code at my company is on vacation for more than one week... Ciao Dirk -- Dirk Ziegelmeier * [email protected]<mailto:[email protected]> * http://www.ziegelmeier.net On Thu, Sep 8, 2016 at 4:17 PM, Marco Veeneman <[email protected]<mailto:[email protected]>> wrote: Hi, I'm facing a problem with SNMP again and I would like to hear your thoughts about it. In <sometable>_get_instance, if no valid instance oid for a row is found, it returns SNMP_ERR_NOSUCHINSTANCE. If a user requests to set an invalid table oid using SNMPv1, the SNMP agent responds with 'error-status: noSuchName (2)'. This is OK. If a user requests to set an invalid table oid using SNMPv2, the SNMP agent doesn't respond at all. It just drops the packet. This happens because of the following code in snmp_complete_outbound_frame() (at line 1366 in snmp_msg.c): if (request->error_status >= SNMP_VARBIND_EXCEPTION_OFFSET) { return ERR_ARG; } which stops further processing of the request. It would be better if the SNMP agent would respond with a message with error-status set to some value. What would be the best solution here? Marco _______________________________________________ lwip-users mailing list [email protected]<mailto:[email protected]> https://lists.nongnu.org/mailman/listinfo/lwip-users
_______________________________________________ lwip-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lwip-users
