diff options
author | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 1999-12-09 09:02:29 +0000 |
---|---|---|
committer | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 1999-12-09 09:02:29 +0000 |
commit | f773b768be181f34e2579f79741a3bc9efe72375 (patch) | |
tree | 4b56dc2ddaf19c80632fb08210620644a607a414 | |
parent | 3a6f53ff2b86d8e1c53791879e0f019d5946879e (diff) |
Add "unspecified tunnel endpoint" statistic.
-rw-r--r-- | usr.bin/netstat/inet.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/netstat/inet.c b/usr.bin/netstat/inet.c index 25bb8bb4f7c..4a4e4dd4169 100644 --- a/usr.bin/netstat/inet.c +++ b/usr.bin/netstat/inet.c @@ -1,4 +1,4 @@ -/* $OpenBSD: inet.c,v 1.40 1999/12/09 08:55:16 angelos Exp $ */ +/* $OpenBSD: inet.c,v 1.41 1999/12/09 09:02:28 angelos 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.40 1999/12/09 08:55:16 angelos Exp $"; +static char *rcsid = "$OpenBSD: inet.c,v 1.41 1999/12/09 09:02:28 angelos Exp $"; #endif #endif /* not lint */ @@ -783,5 +783,6 @@ ip4_stats(off, name) p(ip4s_ibytes, "\t%qu input byte%s\n"); p(ip4s_obytes, "\t%qu output byte%s\n"); p(ip4s_family, "\t%u protocol family mismatches\n"); + p(ip4s_unspec, "\t%u attempts to use tunnel with unspecified endpoint(s)\n"); #undef p } |