summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2000-01-03 04:27:58 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2000-01-03 04:27:58 +0000
commit8a3e2dbbab9467e95b76554c00e74b13749bfe8b (patch)
treeaaa9f91bc4599a55a9151938fb117482cec6a923 /usr.bin
parentec3a359ec08b9518e18777faa0b2f1068ccf23af (diff)
add missing stat items in ip section.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/netstat/inet.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/netstat/inet.c b/usr.bin/netstat/inet.c
index 4a4e4dd4169..42a84330815 100644
--- a/usr.bin/netstat/inet.c
+++ b/usr.bin/netstat/inet.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: inet.c,v 1.41 1999/12/09 09:02:28 angelos Exp $ */
+/* $OpenBSD: inet.c,v 1.42 2000/01/03 04:27:57 itojun 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.41 1999/12/09 09:02:28 angelos Exp $";
+static char *rcsid = "$OpenBSD: inet.c,v 1.42 2000/01/03 04:27:57 itojun Exp $";
#endif
#endif /* not lint */
@@ -374,6 +374,8 @@ ip_stats(off, name)
p(ips_ofragments, "\t%lu fragment%s created\n");
p(ips_cantfrag, "\t%lu datagram%s that can't be fragmented\n");
p1(ips_rcvmemdrop, "\t%lu fragment floods\n");
+ p(ips_toolong, "\t%lu packet%s with ip length > max ip packet size\n");
+ p(ips_nogif, "\t%lu tunneling packet%s that can't find gif\n");
#undef p
#undef p1
}