equal
deleted
inserted
replaced
|
1 This patch fixes a Solaris specific issue related to incorrect |
|
2 reporting of network interface speed inside a zone. The patch has |
|
3 been submitted to the community but has not been accepted yet. |
|
4 |
|
5 The details can be found in the following location |
|
6 https://sourceforge.net/p/net-snmp/patches/1277/ |
|
7 --- net-snmp-5.4.1.old/agent/mibgroup/kernel_sunos5.c 2014-03-28 14:54:11.259600880 -0400 |
|
8 +++ net-snmp-5.4.1/agent/mibgroup/kernel_sunos5.c 2014-03-28 14:52:32.837130820 -0400 |
|
9 @@ -1908,8 +1908,10 @@ |
|
10 * this is good |
|
11 */ |
|
12 havespeed = B_TRUE; |
|
13 + } else if ((getKstatInt("link", name, "ifspeed", &ifp->ifSpeed) == 0) || |
|
14 + (getKstatInt("link", name, "ifSpeed", &ifp->ifSpeed) == 0)) { |
|
15 + havespeed = B_TRUE; |
|
16 } |
|
17 - |
|
18 /* make ifOperStatus depend on link status if available */ |
|
19 if (ifp->ifAdminStatus == 1) { |
|
20 int i_tmp; |