[prev in list] [next in list] [prev in thread] [next in thread]
List: net-snmp-patches
Subject: [Net-snmp-patches] [ net-snmp-Patches-808711 ] tcpOutRsts does not return data on snmpget
From: SourceForge.net <noreply () sourceforge ! net>
Date: 2012-03-13 21:45:01
Message-ID: E1S7ZWh-00016G-9E () sfs-ml-1 ! v29 ! ch3 ! sourceforge ! com
[Download RAW message or body]
Patches item #808711, was opened at 2003-09-18 10:01
Message generated for change (Comment added) made by internetjanitor
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=312694&aid=808711&group_id=12694
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Closed
Resolution: Accepted
Priority: 5
Private: No
Submitted By: Bob Rowlands (browlands)
Assigned to: Wes Hardaker (hardaker)
Summary: tcpOutRsts does not return data on snmpget
Initial Comment:
This patch fixes net-snmp Bugs item #808406, opened by
H N Vijay (hnvijay) on 9/18/03. See
https://sourceforge.net/tracker/index.php?func=detail&aid=808406&group_id=12694&atid=112694
for details.
Synopsis: tcpOutRsts does not return data on snmpget
Description: snmpget for tcpOutRsts will throw the
following error message:
TCP-MIB::tcpOutRsts.0 = No Such Instance currently
exists at this OID
bug_808406.patch is the patch file.
Files changed in the net-snmp V5-0-Patches branch are
the following:
net-snmp/agent/mibgroup/mibII/tcp.c
long_return is used so that the code works correctly
for 64-bit as well as 32-bit agent.
----------------------------------------------------------------------
Comment By: Eric Miller (internetjanitor)
Date: 2012-03-13 14:45
Message:
New patch for Solaris tcpOutRsts:
--- netsnmp-5.7.1/net-snmp-5.7.1/agent/mibgroup/mibII/tcp.c Tue Sep 27
21:53:47 2011
+++ netsnmp-5.7.1.patched/net-snmp-5.7.1/agent/mibgroup/mibII/tcp.c Tue
Mar 13 14:41:32 2012
@@ -313,7 +313,10 @@
continue;
#endif /* solaris2 */
case TCPOUTRSTS:
-#ifdef linux
+#ifdef solaris2
+ ret_value = tcpstat.tcpOutRsts;
+ break;
+#elif defined(linux)
if (tcpstat.tcpOutRstsValid) {
ret_value = tcpstat.tcpOutRsts;
break;
----------------------------------------------------------------------
Comment By: Wes Hardaker (hardaker)
Date: 2004-02-12 16:27
Message:
Logged In: YES
user_id=76242
Note to Dave: I didn't chek te see if this had been fixed already in your
newer 5.1 line of tcp code.
----------------------------------------------------------------------
Comment By: Wes Hardaker (hardaker)
Date: 2004-02-12 16:27
Message:
Logged In: YES
user_id=76242
Thanks for the patch! It has been applied to the 5.0.x and 5.1.x
code bases and the main development tree, and will appear in
future releases of the net-snmp package.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=312694&aid=808711&group_id=12694
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Net-snmp-patches mailing list
Net-snmp-patches@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-patches
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic