summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordhartmei <dhartmei@openbsd.org>2003-02-10 12:01:51 +0000
committerdhartmei <dhartmei@openbsd.org>2003-02-10 12:01:51 +0000
commit393f96d53f8cc6bb7c71c2a90ecfd5c32499c373 (patch)
tree2620e0c7170d6aa4d7ca156edf9b9437e661d8ed
parentxref sshd_config.5 (not sshd.8); mark@summersault.com; bug #490 (diff)
downloadwireguard-openbsd-393f96d53f8cc6bb7c71c2a90ecfd5c32499c373.tar.xz
wireguard-openbsd-393f96d53f8cc6bb7c71c2a90ecfd5c32499c373.zip
Add "inet proto tcp" to the last rdr example, it produces a syntax error
otherwise. Found by David Norman.
-rw-r--r--libexec/spamd/spamd.86
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/spamd/spamd.8 b/libexec/spamd/spamd.8
index e9a37ac1c89..2c854c545e8 100644
--- a/libexec/spamd/spamd.8
+++ b/libexec/spamd/spamd.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: spamd.8,v 1.8 2003/01/20 19:52:51 deraadt Exp $
+.\" $OpenBSD: spamd.8,v 1.9 2003/02/10 12:01:51 dhartmei Exp $
.\"
.\" Copyright (c) 2002 Theo de Raadt. All rights reserved.
.\"
@@ -121,8 +121,8 @@ can be loaded into one or more rulesets inside that
.Pa anchor ,
like:
.Bd -literal
- echo "rdr from { 10.1.2.3, 10.2.3.4/30, 10.3.4.5/24 } to any port smtp
- -> 127.0.0.1 port 8025" | pfctl -a spews:first -f -
+ echo "rdr inet proto tcp from { 10.1.2.3, 10.2.3.4/30, 10.3.4.5/24 }
+ to any port smtp -> 127.0.0.1 port 8025" | pfctl -a spews:first -f -
.Ed
.Pp
.Sh SEE ALSO