summaryrefslogtreecommitdiff
path: root/statistics.c
diff options
context:
space:
mode:
authorBernd Eckenfels <net-tools@lina.inka.de>2010-10-29 19:24:36 +0000
committerBernd Eckenfels <net-tools@lina.inka.de>2010-10-29 19:24:36 +0000
commit179168511b347452626a45f543bc1129dcb36db5 (patch)
tree0f57efb19b0858ebd1c3336fbd68ba882ca98146 /statistics.c
parentafb24b5700a13e4ace6c6561e0366f4a56fbb115 (diff)
downloadnet-tools-179168511b347452626a45f543bc1129dcb36db5.tar.gz
net-tools-179168511b347452626a45f543bc1129dcb36db5.tar.bz2
net-tools-179168511b347452626a45f543bc1129dcb36db5.zip
[Bug #17645] Add netstat(8) support for RcvbufErrors, SndbufErrors.
Thanks jwm
Diffstat (limited to 'statistics.c')
-rw-r--r--statistics.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/statistics.c b/statistics.c
index aa3c3ee..df31d68 100644
--- a/statistics.c
+++ b/statistics.c
@@ -1,6 +1,6 @@
/*
* Copyright 1997,1999,2000 Andi Kleen. Subject to the GPL.
- * $Id: statistics.c,v 1.22 2008/10/03 01:07:47 ecki Exp $
+ * $Id: statistics.c,v 1.23 2010-10-29 19:24:36 ecki Exp $
* 19980630 - i18n - Arnaldo Carvalho de Melo <acme@conectiva.com.br>
* 19981113 - i18n fixes - Arnaldo Carvalho de Melo <acme@conectiva.com.br>
* 19990101 - added net/netstat, -t, -u, -w supprt - Bernd Eckenfels
@@ -199,7 +199,9 @@ struct entry Udptab[] =
{"NoPorts", N_("%u packets to unknown port received."), number},
{"InErrors", N_("%u packet receive errors"), number},
{"OutDatagrams", N_("%u packets sent"), number},
-};
+ {"RcvbufErrors", N_("%u receive buffer errors"), number},
+ {"SndbufErrors", N_("%u send buffer errors"), number},
+ };
struct entry Udp6tab[] =
{