components/net-snmp/patches/055.15777182.tcp.patch
changeset 4308 1df62dc45b69
equal deleted inserted replaced
4307:7ea76682d676 4308:1df62dc45b69
       
     1 This patch fixes a issue related to retrieving 
       
     2 the value of tcpOutRsts from tcpstat structure. The patch has
       
     3 been accepted by the community.
       
     4 
       
     5 The details can be found in the following location
       
     6 https://sourceforge.net/p/net-snmp/bugs/2599/
       
     7 
       
     8 --- a/agent/mibgroup/mibII/tcp.c	Wed Apr  1 02:40:40 2015
       
     9 +++ b/agent/mibgroup/mibII/tcp.c	Wed Apr  1 02:44:23 2015
       
    10 @@ -306,6 +306,9 @@
       
    11              ret_value = tcpstat.tcpOutRsts;
       
    12              break;
       
    13  	}
       
    14 +#elif defined(solaris2)
       
    15 +        ret_value = tcpstat.tcpOutRsts;
       
    16 +        break;  
       
    17  #endif			/* linux */
       
    18          netsnmp_set_request_error(reqinfo, request, SNMP_NOSUCHOBJECT);
       
    19          continue;