author | Lijo George<lijo.x.george@oracle.com> |
Mon, 07 Apr 2014 10:22:09 -0700 | |
branch | s11-update |
changeset 3055 | f05d09d6683f |
parent 3018 | 9bcd8e039f5c |
permissions | -rw-r--r-- |
3018
9bcd8e039f5c
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 |
9bcd8e039f5c
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 |
9bcd8e039f5c
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 @@ |
9bcd8e039f5c
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; |
9bcd8e039f5c
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 |
} |
9bcd8e039f5c
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 |
|
9bcd8e039f5c
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) |
9bcd8e039f5c
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) |
9bcd8e039f5c
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 |
{ |
9bcd8e039f5c
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); |
9bcd8e039f5c
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) { |