diff options
author | 2000-01-03 04:27:57 +0000 | |
---|---|---|
committer | 2000-01-03 04:27:57 +0000 | |
commit | 760b8681db027cbf9afd0e94b3199712d8c2fce4 (patch) | |
tree | b4abce5d32d1a78e592b8013bea0e31b8a35cfcf | |
parent | Remove ax and al from GENERIC; match with dc instead. (diff) | |
download | wireguard-openbsd-760b8681db027cbf9afd0e94b3199712d8c2fce4.tar.xz wireguard-openbsd-760b8681db027cbf9afd0e94b3199712d8c2fce4.zip |
add missing stat items in ip section.
-rw-r--r-- | usr.bin/netstat/inet.c | 6 |
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 } |