components/net-snmp-57/patches/055.15777182.tcp.patch
author Mike Sullivan <Mike.Sullivan@Oracle.COM>
Fri, 18 Nov 2016 21:09:58 -0800
changeset 7357 c7c52f21baa4
parent 5867 445e2cf1c845
permissions -rw-r--r--
Close of build 113.

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;