>>>>> On Mon, 12 Jun 2006 10:39:09 -0700 (PDT), rwilcox <[EMAIL PROTECTED]>
>>>>> said:
rwilcox> Thanks, I was getting ready to look into making the changes
rwilcox> and submit a patch. Can you let me know when the patch is
rwilcox> available?
It'll be in all releases from 5.2.3 and up. 5.3.1 and 5.2.3 will both
have it, for example.
Index: snmp_agent.c
===================================================================
RCS file: /cvsroot/net-snmp/net-snmp/agent/snmp_agent.c,v
retrieving revision 5.98
diff -u -p -r5.98 snmp_agent.c
--- snmp_agent.c 4 May 2006 21:44:12 -0000 5.98
+++ snmp_agent.c 12 Jun 2006 17:01:26 -0000
@@ -2274,7 +2274,7 @@ netsnmp_create_subtree_cache(netsnmp_age
view = in_a_view(varbind_ptr->name, &varbind_ptr->name_length,
asp->pdu, varbind_ptr->type);
if (view != VACM_SUCCESS)
- return SNMP_ERR_NOTWRITABLE;
+ return SNMP_ERR_NOACCESS;
break;
case SNMP_MSG_GETNEXT:
--
Wes Hardaker
Sparta, Inc.
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders