From 11c8bd4d0f07d05c9967649716727e17773e3b50 Mon Sep 17 00:00:00 2001 From: Jiri Popelka Date: Mon, 1 Nov 2010 16:38:34 +0100 Subject: [PATCH] Added netstat(8) support for RcvbufErrors, SndbufErrors (BerliOS #17645) --- net-tools-1.60-statistics-doubleword.patch | 4 +++- net-tools.spec | 5 ++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/net-tools-1.60-statistics-doubleword.patch b/net-tools-1.60-statistics-doubleword.patch index a6b2b29..3318ce8 100644 --- a/net-tools-1.60-statistics-doubleword.patch +++ b/net-tools-1.60-statistics-doubleword.patch @@ -100,7 +100,7 @@ diff -up net-tools-1.60/statistics.c.doubleword net-tools-1.60/statistics.c }; struct entry Tcptab[] = -@@ -119,131 +119,131 @@ struct entry Tcptab[] = +@@ -119,131 +119,133 @@ struct entry Tcptab[] = {"RtoMin", "", number}, {"RtoMax", "", number}, {"MaxConn", "", number}, @@ -136,6 +136,8 @@ diff -up net-tools-1.60/statistics.c.doubleword net-tools-1.60/statistics.c + {"NoPorts", N_("%llu packets to unknown port received."), number}, + {"InErrors", N_("%llu packet receive errors"), number}, + {"OutDatagrams", N_("%llu packets sent"), number}, ++ {"RcvbufErrors", N_("%llu receive buffer errors"), number}, ++ {"SndbufErrors", N_("%llu send buffer errors"), number}, }; struct entry Tcpexttab[] = diff --git a/net-tools.spec b/net-tools.spec index 390545b..976ae74 100644 --- a/net-tools.spec +++ b/net-tools.spec @@ -1,7 +1,7 @@ Summary: Basic networking tools Name: net-tools Version: 1.60 -Release: 107%{?dist} +Release: 108%{?dist} License: GPL+ Group: System Environment/Base URL: http://net-tools.berlios.de/ @@ -329,6 +329,9 @@ rm -rf %{buildroot} %config(noreplace) %{_sysconfdir}/ethers %changelog +* Mon Nov 01 2010 Jiri Popelka - 1.60-108 +- Added netstat(8) support for RcvbufErrors, SndbufErrors (BerliOS #17645) + * Wed Sep 29 2010 jkeating - 1.60-107 - Rebuilt for gcc bug 634757