components/net-snmp/patches/039.17002960.kernel_sunos5.patch
author jenny.yung@oracle.com <jenny.yung@oracle.com>
Wed, 02 Dec 2015 16:35:50 -0800
changeset 5143 9b4a483bf8d9
parent 1748 5b1802fcf350
permissions -rw-r--r--
22242767 Upgrade GnuTLS to 3.4.6 22080473 problem in LIBRARY/GNUTLS

--- net-snmp-5.4.1.old/agent/mibgroup/kernel_sunos5.c	2014-02-26 05:32:10.697219080 -0500
+++ net-snmp-5.4.1/agent/mibgroup/kernel_sunos5.c	2014-02-26 05:31:28.588532860 -0500
@@ -296,7 +296,7 @@
 	goto Return;
     }
    
-    if ((ks = kstat_lookup(ksc, statname, 0, "link")) != NULL)
+    if ((ks = kstat_lookup(ksc, statname, -1, "link")) != NULL)
     {
         kid = kstat_read(ksc, ks, NULL);
         if (kid == -1) {