summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sbin/ipfstat/fils.c4
-rw-r--r--sbin/ipfstat/ipfstat.87
2 files changed, 6 insertions, 5 deletions
diff --git a/sbin/ipfstat/fils.c b/sbin/ipfstat/fils.c
index 96a1a7ac4d1..2592f0816dd 100644
--- a/sbin/ipfstat/fils.c
+++ b/sbin/ipfstat/fils.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fils.c,v 1.4 1996/06/23 14:30:57 deraadt Exp $ */
+/* $OpenBSD: fils.c,v 1.5 1996/07/10 03:53:49 ccappuc Exp $ */
/*
* (C)opyright 1993-1996 by Darren Reed.
@@ -46,7 +46,7 @@ static char sccsid[] = "@(#)fils.c 1.20 3/24/96 (C) 1993-1996 Darren Reed";
#ifdef _PATH_UNIX
#define VMUNIX _PATH_UNIX
#else
-#define VMUNIX "/vmunix"
+#define VMUNIX "/bsd"
#endif
extern char *optarg;
diff --git a/sbin/ipfstat/ipfstat.8 b/sbin/ipfstat/ipfstat.8
index cea85d23d29..6952875ed41 100644
--- a/sbin/ipfstat/ipfstat.8
+++ b/sbin/ipfstat/ipfstat.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ipfstat.8,v 1.3 1996/06/23 14:30:57 deraadt Exp $
+.\" $OpenBSD: ipfstat.8,v 1.4 1996/07/10 03:53:50 ccappuc Exp $
.\"
.LP
.TH ipfstat 8
@@ -12,7 +12,8 @@ ipfstat [-hIiovd:]
\fBipfstat examines /dev/kmem using the symbols \fB_fr_flags\fP,
\fB_frstats\fP, \fB_filterin\fP, and \fB_filterout\fP.
To run and work, it needs to be able to read both /dev/kmem and the
-kernel itself. The kernel name defaults to \fB/vmunix\fP.
+kernel itself. The kernel name defaults to \fB_PATH_UNIX\fP and then
+to \fB/bsd\fP if \fB_PATH_UNIX\fP isn't defined.
.PP
The default behaviour of \fBipfstat\fP
is to retrieve and display the accumulated statistics which have been
@@ -51,7 +52,7 @@ the appropriate list of filter rules currently installed and in use by the
kernel.
.SH FILES
/dev/kmem
-/vmunix
+/bsd
.SH SEE ALSO
ipf(1), ipfstat(1)
.SH BUGS