On Wed, 25 Aug 2004 09:55:43 +0100 Dave wrote:
DS> I'd submitted the changes for the first of these, but didn't think
DS> that I'd touched the other two. So I was a little suprised when
DS> Magnus reported this problem - particularly when I searched my
DS> code and didn't find any mention of "agentx:snmpd" anywhere.
Here is a hint:
agent/agent_read_config.c:207: snprintf(buf, BUFSIZ, "agentx:%s", app);
Magnus, a simple patch to get back to a single token would be:
Index: agent/agent_read_config.c
===================================================================
RCS file: /cvsroot/net-snmp/net-snmp/agent/agent_read_config.c,v
retrieving revision 5.6
diff -u -r5.6 agent_read_config.c
--- agent/agent_read_config.c 17 Aug 2004 08:23:32 -0000 5.6
+++ agent/agent_read_config.c 25 Aug 2004 13:37:17 -0000
@@ -203,7 +203,7 @@
char buf[BUFSIZ];
if (app != NULL) {
-#if defined(USING_AGENTX_SUBAGENT_MODULE)||defined(USING_AGENTX_MASTER_MODULE)
+#if 0
snprintf(buf, BUFSIZ, "agentx:%s", app);
netsnmp_ds_set_string(NETSNMP_DS_LIBRARY_ID,
NETSNMP_DS_LIB_APPTYPES, buf);
--
Robert Story; NET-SNMP Junkie <http://www.net-snmp.org/>
<irc://irc.freenode.net/#net-snmp>
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders>
You are lost in a twisty maze of little standards, all different.
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders