summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2004-02-26 08:51:46 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2004-02-26 08:51:46 +0000
commita779ffbf1ea5ac39419a5010a7506ee339082ca6 (patch)
treeede0ec8e77e3bb957b51f4b211c36fa0a9a62067 /usr.bin
parentebdb5a03f64fd2720325a3979ce808b763e4bb35 (diff)
print tcps_rcvmemdrop; ok deraadt
Diffstat (limited to 'usr.bin')
-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 e49b80d5f04..4347249fe8e 100644
--- a/usr.bin/netstat/inet.c
+++ b/usr.bin/netstat/inet.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: inet.c,v 1.80 2004/01/15 10:17:33 markus Exp $ */
+/* $OpenBSD: inet.c,v 1.81 2004/02/26 08:51:45 markus Exp $ */
/* $NetBSD: inet.c,v 1.14 1995/10/03 21:42:37 thorpej Exp $ */
/*
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "from: @(#)inet.c 8.4 (Berkeley) 4/20/94";
#else
-static const char *rcsid = "$OpenBSD: inet.c,v 1.80 2004/01/15 10:17:33 markus Exp $";
+static const char *rcsid = "$OpenBSD: inet.c,v 1.81 2004/02/26 08:51:45 markus Exp $";
#endif
#endif /* not lint */
@@ -303,6 +303,7 @@ tcp_stats(u_long off, char *name)
p(tcps_rcvbadoff, "\t\t%u discarded for bad header offset field%s\n");
p1(tcps_rcvshort, "\t\t%u discarded because packet too short\n");
p1(tcps_rcvnosec, "\t\t%u discarded for missing IPsec protection\n");
+ p1(tcps_rcvmemdrop, "\t\t%u discarded for memory shortage\n");
p(tcps_inhwcsum, "\t\t%u packet%s hardware-checksummed\n");
p(tcps_rcvbadsig, "\t\t%u bad/missing md5 checksum%s\n");
p(tcps_rcvgoodsig, "\t\t%qd good md5 checksum%s\n");