summaryrefslogtreecommitdiff
path: root/net/net-snmp/patches/patch-ad
blob: bcf26acb356db4b4e6397268c1f13fea96d817fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
$NetBSD: patch-ad,v 1.8 2010/07/20 08:33:44 adam Exp $

--- agent/auto_nlist.c.orig	2010-07-18 22:58:45.000000000 +0000
+++ agent/auto_nlist.c
@@ -70,13 +70,13 @@ auto_nlist_value(const char *string)
 #endif
         it->nl[1].n_name = 0;
         init_nlist(it->nl);
-#if !(defined(aix4) || defined(aix5) || defined(aix6)) 
+/*#if !(defined(aix4) || defined(aix5) || defined(aix6)) 
         if (it->nl[0].n_type == 0) {
             strcpy(it->nl[0].n_name, string);
             it->nl[0].n_name[strlen(string)+1] = '\0';
             init_nlist(it->nl);
         }
-#endif
+#endif*/
         if (it->nl[0].n_type == 0) {
             if (!netsnmp_ds_get_boolean(NETSNMP_DS_APPLICATION_ID, 
 					NETSNMP_DS_AGENT_NO_ROOT_ACCESS)) {