aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-09-06 22:47:46 +0000
committerMike Frysinger <vapier@gentoo.org>2009-09-06 22:47:46 +0000
commit15cf547d6769ea4ae412d7c43454886e4dcab9ae (patch)
tree7ad6c5431df6485f0a94d3165f3a9f61aef31d38
parentstart a .gitignore (diff)
downloadnet-tools-15cf547d6769ea4ae412d7c43454886e4dcab9ae.tar.gz
net-tools-15cf547d6769ea4ae412d7c43454886e4dcab9ae.tar.bz2
net-tools-15cf547d6769ea4ae412d7c43454886e4dcab9ae.zip
netstat: fix typo in udp display
The recent patch to add udplite support introduced a typo in the udp name. This fixes Gentoo #282794 and Debian #545328. Originally reported by Ambroz Bizjak <ambro@b4ever.net>.
-rw-r--r--netstat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/netstat.c b/netstat.c
index 053d713..302d10e 100644
--- a/netstat.c
+++ b/netstat.c
@@ -6,7 +6,7 @@
* NET-3 Networking Distribution for the LINUX operating
* system.
*
- * Version: $Id: netstat.c,v 1.65 2009/08/27 20:29:19 ecki Exp $
+ * Version: $Id: netstat.c,v 1.66 2009/09/06 22:47:46 vapier Exp $
*
* Authors: Fred Baumgarten, <dc6iq@insu1.etec.uni-karlsruhe.de>
* Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
@@ -973,7 +973,7 @@ static void udp_do_one(int lnr, const char *line,const char *prot)
static int udp_info(void)
{
INFO_GUTS6(_PATH_PROCNET_UDP, _PATH_PROCNET_UDP6, "AF INET (udp)",
- udp_do_one, "upd", "udp6");
+ udp_do_one, "udp", "udp6");
}
static int udplite_info(void)