On Tue, 22 Aug 2017 06:42:20 +0000 Madhusudhana wrote: MR> I am implementing SET request and I have varbind of type OBJECT MR> ID for which an object ID can be set as a value. My query is MR> how can I validate a correct object id. Currently, I am able MR> to give an invalid object ID (.1.2.3.8.2.1.1.3)and SET is MR> working fine on that. But I want to filter out invalid object MR> IDs and allow only if it matches with the MIB-tree.
How have you impleted your handler? It should not be getting called for an invalid OID. Sounds like the object registration is wrong. Robert ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders