# HG changeset patch # User Sowrabha H G # Date 1428408228 25200 # Node ID 1df62dc45b69e01156a9a2749a4f0519e3d9ce32 # Parent 7ea76682d67667aa06deda95a178a96c19226cca 15777182 SUNBT7151447 snmp request fails for TCP-MIB::tcpOutRsts.0 diff -r 7ea76682d676 -r 1df62dc45b69 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;