summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2006-10-26 13:27:58 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2006-10-26 13:27:58 +0000
commitdb82a4e81cc5aebf267f377420bf8376d26538c0 (patch)
tree9733c4aef178264e9eb88c8af6eb5fb0ac58d5dd
parentfc546e274d5a4f34785ceaa15413195f02c21563 (diff)
- sort options
- sync usage()
-rw-r--r--libexec/spamlogd/spamlogd.816
-rw-r--r--libexec/spamlogd/spamlogd.c4
2 files changed, 10 insertions, 10 deletions
diff --git a/libexec/spamlogd/spamlogd.8 b/libexec/spamlogd/spamlogd.8
index c0c64811413..a09c154b84d 100644
--- a/libexec/spamlogd/spamlogd.8
+++ b/libexec/spamlogd/spamlogd.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: spamlogd.8,v 1.6 2006/10/25 19:17:55 henning Exp $
+.\" $OpenBSD: spamlogd.8,v 1.7 2006/10/26 13:27:57 jmc Exp $
.\"
.\" Copyright (c) 2004 Bob Beck. All rights reserved.
.\"
@@ -22,9 +22,9 @@
.Nd spamd whitelist updating daemon
.Sh SYNOPSIS
.Nm spamlogd
-.Op Fl l Ar log_interface
.Op Fl I
.Op Fl i Ar interface
+.Op Fl l Ar pflog_interface
.Sh DESCRIPTION
.Nm
manipulates the
@@ -59,12 +59,6 @@ in
.Pp
The options are as follows:
.Bl -tag -width Ds
-.It Fl l Ar log_interface
-Specify a
-.Xr pflog 4
-interface to listen for connection notifications.
-The default is to watch for connections logged on
-.Dq pflog0 .
.It Fl I
Specify that
.Nm
@@ -76,6 +70,12 @@ target of outbound SMTP connections.
.It Fl i Ar interface
Specify a network interface on which packets must arrive.
The default is to watch for connections logged from any interfaces.
+.It Fl l Ar pflog_interface
+Specify a
+.Xr pflog 4
+interface to listen for connection notifications.
+The default is to watch for connections logged on
+.Dq pflog0 .
.El
.Pp
It is important to be sure to log any connections to and from your real
diff --git a/libexec/spamlogd/spamlogd.c b/libexec/spamlogd/spamlogd.c
index bbd0fc32999..120388209e7 100644
--- a/libexec/spamlogd/spamlogd.c
+++ b/libexec/spamlogd/spamlogd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: spamlogd.c,v 1.12 2006/10/25 19:17:55 henning Exp $ */
+/* $OpenBSD: spamlogd.c,v 1.13 2006/10/26 13:27:57 jmc Exp $ */
/*
* Copyright (c) 2004 Bob Beck. All rights reserved.
@@ -120,7 +120,7 @@ dbupdate(char *dbname, char *ip)
static void
usage(void)
{
- fprintf(stderr, "usage: %s [-I] [-i interface] [-l pflog-interface]\n",
+ fprintf(stderr, "usage: %s [-I] [-i interface] [-l pflog_interface]\n",
__progname);
exit(1);
}