summaryrefslogtreecommitdiff
path: root/usr.bin/netstat/inet.c
diff options
context:
space:
mode:
authorNiels Provos <provos@cvs.openbsd.org>1997-11-09 16:33:10 +0000
committerNiels Provos <provos@cvs.openbsd.org>1997-11-09 16:33:10 +0000
commit97f669b45ba35feae4351e7f0e478da05792cf6e (patch)
tree40054b1854c11b9cb4895731ff3b3ae9df8989e8 /usr.bin/netstat/inet.c
parentee5372c5ff40fb0431f6f81696591f8c6d45b127 (diff)
also report udp PCB cache misses.
Diffstat (limited to 'usr.bin/netstat/inet.c')
-rw-r--r--usr.bin/netstat/inet.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/netstat/inet.c b/usr.bin/netstat/inet.c
index dc9eafadf26..a66672f4359 100644
--- a/usr.bin/netstat/inet.c
+++ b/usr.bin/netstat/inet.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: inet.c,v 1.21 1997/07/28 01:47:43 deraadt Exp $ */
+/* $OpenBSD: inet.c,v 1.22 1997/11/09 16:33:09 provos Exp $ */
/* $NetBSD: inet.c,v 1.14 1995/10/03 21:42:37 thorpej Exp $ */
/*
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "from: @(#)inet.c 8.4 (Berkeley) 4/20/94";
#else
-static char *rcsid = "$OpenBSD: inet.c,v 1.21 1997/07/28 01:47:43 deraadt Exp $";
+static char *rcsid = "$OpenBSD: inet.c,v 1.22 1997/11/09 16:33:09 provos Exp $";
#endif
#endif /* not lint */
@@ -280,6 +280,7 @@ udp_stats(off, name)
if (delivered || sflag <= 1)
printf("\t%lu delivered\n", delivered);
p(udps_opackets, "\t%lu datagram%s output\n");
+ p(udps_pcbhashmiss, "\t%lu missed PCB cache\n");
#undef p
}