diff options
author | 2006-10-26 13:27:57 +0000 | |
---|---|---|
committer | 2006-10-26 13:27:57 +0000 | |
commit | 57aa41b644f60242debfefacc06e8b38ad018319 (patch) | |
tree | 6fa8c98e88711eb507031c9f158be58b2fd0de24 | |
parent | typos; from bret lambert (diff) | |
download | wireguard-openbsd-57aa41b644f60242debfefacc06e8b38ad018319.tar.xz wireguard-openbsd-57aa41b644f60242debfefacc06e8b38ad018319.zip |
- sort options
- sync usage()
-rw-r--r-- | libexec/spamlogd/spamlogd.8 | 16 | ||||
-rw-r--r-- | libexec/spamlogd/spamlogd.c | 4 |
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); } |