components/net-snmp-57/patches/039.17002960.kernel_sunos5.patch
author David Hollister <david.hollister@oracle.com>
Wed, 12 Oct 2016 14:01:13 -0600
changeset 7094 61352b4e5af5
parent 5867 445e2cf1c845
permissions -rw-r--r--
24797203 OpenStack RBAC profiles allow reading too many files 24797238 keystone RBAC and SMF should point at Apache log files 24797256 cinder RBAC and SMF should point at Apache log files 24830959 horizon RBAC and SMF should point at Apache log files
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1748
5b1802fcf350 16032482 Net-SNMP ifOperStatus on solaris11 VM guest domain is not correct.
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
     1
--- net-snmp-5.4.1.old/agent/mibgroup/kernel_sunos5.c	2014-02-26 05:32:10.697219080 -0500
5b1802fcf350 16032482 Net-SNMP ifOperStatus on solaris11 VM guest domain is not correct.
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
     2
+++ net-snmp-5.4.1/agent/mibgroup/kernel_sunos5.c	2014-02-26 05:31:28.588532860 -0500
5b1802fcf350 16032482 Net-SNMP ifOperStatus on solaris11 VM guest domain is not correct.
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
     3
@@ -296,7 +296,7 @@
5b1802fcf350 16032482 Net-SNMP ifOperStatus on solaris11 VM guest domain is not correct.
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
     4
 	goto Return;
5b1802fcf350 16032482 Net-SNMP ifOperStatus on solaris11 VM guest domain is not correct.
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
     5
     }
5b1802fcf350 16032482 Net-SNMP ifOperStatus on solaris11 VM guest domain is not correct.
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
     6
    
5b1802fcf350 16032482 Net-SNMP ifOperStatus on solaris11 VM guest domain is not correct.
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
     7
-    if ((ks = kstat_lookup(ksc, statname, 0, "link")) != NULL)
5b1802fcf350 16032482 Net-SNMP ifOperStatus on solaris11 VM guest domain is not correct.
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
     8
+    if ((ks = kstat_lookup(ksc, statname, -1, "link")) != NULL)
5b1802fcf350 16032482 Net-SNMP ifOperStatus on solaris11 VM guest domain is not correct.
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
     9
     {
5b1802fcf350 16032482 Net-SNMP ifOperStatus on solaris11 VM guest domain is not correct.
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    10
         kid = kstat_read(ksc, ks, NULL);
5b1802fcf350 16032482 Net-SNMP ifOperStatus on solaris11 VM guest domain is not correct.
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    11
         if (kid == -1) {