Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sbin/sysctl Inform the user that net.bpf.stats and net.bpf.p...



details:   https://anonhg.NetBSD.org/src/rev/d8d5f24da76b
branches:  trunk
changeset: 583400:d8d5f24da76b
user:      rpaulo <rpaulo%NetBSD.org@localhost>
date:      Thu Aug 04 19:44:18 2005 +0000

description:
Inform the user that net.bpf.stats and net.bpf.peers are viewable with
netstat(1).

diffstat:

 sbin/sysctl/sysctl.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 1a3892c4eb6a -r d8d5f24da76b sbin/sysctl/sysctl.c
--- a/sbin/sysctl/sysctl.c      Thu Aug 04 19:41:28 2005 +0000
+++ b/sbin/sysctl/sysctl.c      Thu Aug 04 19:44:18 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sysctl.c,v 1.104 2005/06/27 01:00:07 christos Exp $ */
+/*     $NetBSD: sysctl.c,v 1.105 2005/08/04 19:44:18 rpaulo Exp $ */
 
 /*-
  * Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -72,7 +72,7 @@
 #if 0
 static char sccsid[] = "@(#)sysctl.c   8.1 (Berkeley) 6/6/93";
 #else
-__RCSID("$NetBSD: sysctl.c,v 1.104 2005/06/27 01:00:07 christos Exp $");
+__RCSID("$NetBSD: sysctl.c,v 1.105 2005/08/04 19:44:18 rpaulo Exp $");
 #endif
 #endif /* not lint */
 
@@ -204,6 +204,7 @@
        { "/net/key/dumps[ap]",                 printother, NULL, "setkey" },
        { "/net/[^/]+/[^/]+/pcblist",           printother, NULL,
                                                "netstat' or 'sockstat" },
+       { "/net/bpf/(stats|peers)",             printother, NULL, "netstat"},
 
        { "/hw/diskstats",                      printother, NULL, "iostat" },
 



Home | Main Index | Thread Index | Old Index