rpms/net-tools/devel net-tools-1.60-netstat-probe.patch, NONE, 1.1 net-tools.spec, 1.96, 1.97

Zdenek Prikryl zprikryl at fedoraproject.org
Thu Oct 16 10:23:52 UTC 2008


Author: zprikryl

Update of /cvs/extras/rpms/net-tools/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv32256

Modified Files:
	net-tools.spec 
Added Files:
	net-tools-1.60-netstat-probe.patch 
Log Message:
fixed tcp timers info in netstat (#466845)


net-tools-1.60-netstat-probe.patch:

--- NEW FILE net-tools-1.60-netstat-probe.patch ---
diff -up net-tools-1.60/netstat.c.probe net-tools-1.60/netstat.c
--- net-tools-1.60/netstat.c.probe	2008-10-15 12:47:41.000000000 +0200
+++ net-tools-1.60/netstat.c	2008-10-15 12:49:48.000000000 +0200
@@ -1061,6 +1061,11 @@ static void tcp_do_one(int lnr, const ch
 			 (double) time_len / HZ, retr, timeout);
 		break;
 
+	    case 4:
+		snprintf(timers, sizeof(timers), _("probe (%2.2f/%ld/%d)"),
+			 (double) time_len / HZ, retr, timeout);
+		break;
+
 	    default:
 		snprintf(timers, sizeof(timers), _("unkn-%d (%2.2f/%ld/%d)"),
 			 timer_run, (double) time_len / HZ, retr, timeout);


Index: net-tools.spec
===================================================================
RCS file: /cvs/extras/rpms/net-tools/devel/net-tools.spec,v
retrieving revision 1.96
retrieving revision 1.97
diff -u -r1.96 -r1.97
--- net-tools.spec	29 Sep 2008 08:48:36 -0000	1.96
+++ net-tools.spec	16 Oct 2008 10:23:21 -0000	1.97
@@ -3,7 +3,7 @@
 Summary: Basic networking tools
 Name: net-tools
 Version: 1.60
-Release: 90%{?dist}
+Release: 91%{?dist}
 License: GPL+
 Group: System Environment/Base
 URL: http://www.tazenda.demon.co.uk/phil/net-tools/
@@ -81,6 +81,7 @@
 Patch68: net-tools-1.60-a-option.patch
 Patch69: net-tools-1.60-clear-flag.patch
 Patch70: net-tools-1.60-metric-tunnel-man.patch
+Patch71: net-tools-1.60-netstat-probe.patch
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Requires(post): /sbin/chkconfig
@@ -162,6 +163,7 @@
 %patch68 -p1 -b .a-option
 %patch69 -p1 -b .clear-flag
 %patch70 -p1 -b .metric-tunnel-man
+%patch71 -p1 -b .probe
 
 cp %SOURCE2 ./config.h
 cp %SOURCE3 ./config.make
@@ -277,6 +279,9 @@
 %{_sysconfdir}/rc.d/init.d/netplugd
 
 %changelog
+* Thu Oct 16 2008 Zdenek Prikryl <zprikryl at redhat.com> - 1.60-91
+- fixed tcp timers info in netstat (#466845)
+
 * Thu Sep 25 2008 Zdenek Prikryl <zprikryl at redhat.com> - 1.60-90
 - fixed ifconfig's man page (#454271, #432328)
 




More information about the fedora-extras-commits mailing list