summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sbin/pflogd/pflogd.85
-rw-r--r--sbin/pflogd/pflogd.c6
2 files changed, 6 insertions, 5 deletions
diff --git a/sbin/pflogd/pflogd.8 b/sbin/pflogd/pflogd.8
index b0b09509ed6..457f2bcb137 100644
--- a/sbin/pflogd/pflogd.8
+++ b/sbin/pflogd/pflogd.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pflogd.8,v 1.28 2006/10/25 20:20:19 henning Exp $
+.\" $OpenBSD: pflogd.8,v 1.29 2006/10/26 13:34:47 jmc Exp $
.\"
.\" Copyright (c) 2001 Can Erkin Acar. All rights reserved.
.\"
@@ -34,8 +34,8 @@
.Nm pflogd
.Op Fl Dx
.Op Fl d Ar delay
-.Op Fl i Ar interface
.Op Fl f Ar filename
+.Op Fl i Ar interface
.Op Fl s Ar snaplen
.Op Ar expression
.Sh DESCRIPTION
@@ -105,6 +105,7 @@ Log output filename.
Default is
.Pa /var/log/pflog .
.It Fl i Ar interface
+Specifies the
.Xr pflog 4
interface to use.
By default,
diff --git a/sbin/pflogd/pflogd.c b/sbin/pflogd/pflogd.c
index 94184913004..168deb12edd 100644
--- a/sbin/pflogd/pflogd.c
+++ b/sbin/pflogd/pflogd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pflogd.c,v 1.36 2006/10/25 20:20:19 henning Exp $ */
+/* $OpenBSD: pflogd.c,v 1.37 2006/10/26 13:34:47 jmc Exp $ */
/*
* Copyright (c) 2001 Theo de Raadt
@@ -150,8 +150,8 @@ logmsg(int pri, const char *message, ...)
__dead void
usage(void)
{
- fprintf(stderr, "usage: pflogd [-Dx] [-d delay] [-i interface]");
- fprintf(stderr, " [-f filename] [-s snaplen]\n");
+ fprintf(stderr, "usage: pflogd [-Dx] [-d delay] [-f filename]");
+ fprintf(stderr, " [-i interface] [-s snaplen]\n");
fprintf(stderr, " [expression]\n");
exit(1);
}