components/net-snmp-57/patches/039.17002960.kernel_sunos5.patch
changeset 5867 445e2cf1c845
parent 1748 5b1802fcf350
equal deleted inserted replaced
5866:683c5c035a79 5867:445e2cf1c845
       
     1 --- net-snmp-5.4.1.old/agent/mibgroup/kernel_sunos5.c	2014-02-26 05:32:10.697219080 -0500
       
     2 +++ net-snmp-5.4.1/agent/mibgroup/kernel_sunos5.c	2014-02-26 05:31:28.588532860 -0500
       
     3 @@ -296,7 +296,7 @@
       
     4  	goto Return;
       
     5      }
       
     6     
       
     7 -    if ((ks = kstat_lookup(ksc, statname, 0, "link")) != NULL)
       
     8 +    if ((ks = kstat_lookup(ksc, statname, -1, "link")) != NULL)
       
     9      {
       
    10          kid = kstat_read(ksc, ks, NULL);
       
    11          if (kid == -1) {