15777182 SUNBT7151447 snmp request fails for TCP-MIB::tcpOutRsts.0
authorSowrabha H G<sowrabha.hg@oracle.com>
Tue, 07 Apr 2015 05:03:48 -0700
changeset 4308 1df62dc45b69
parent 4307 7ea76682d676
child 4309 b6e9109bb31e
15777182 SUNBT7151447 snmp request fails for TCP-MIB::tcpOutRsts.0
components/net-snmp/patches/055.15777182.tcp.patch
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/net-snmp/patches/055.15777182.tcp.patch	Tue Apr 07 05:03:48 2015 -0700
@@ -0,0 +1,19 @@
+This patch fixes a issue related to retrieving 
+the value of tcpOutRsts from tcpstat structure. The patch has
+been accepted by the community.
+
+The details can be found in the following location
+https://sourceforge.net/p/net-snmp/bugs/2599/
+
+--- a/agent/mibgroup/mibII/tcp.c	Wed Apr  1 02:40:40 2015
++++ b/agent/mibgroup/mibII/tcp.c	Wed Apr  1 02:44:23 2015
+@@ -306,6 +306,9 @@
+             ret_value = tcpstat.tcpOutRsts;
+             break;
+ 	}
++#elif defined(solaris2)
++        ret_value = tcpstat.tcpOutRsts;
++        break;  
+ #endif			/* linux */
+         netsnmp_set_request_error(reqinfo, request, SNMP_NOSUCHOBJECT);
+         continue;