summaryrefslogtreecommitdiff
path: root/share/man/man5
diff options
context:
space:
mode:
authorDaniel Hartmeier <dhartmei@cvs.openbsd.org>2002-01-08 16:28:13 +0000
committerDaniel Hartmeier <dhartmei@cvs.openbsd.org>2002-01-08 16:28:13 +0000
commitf166b7b2ad149ec44be4fcbc48c8693b54386bee (patch)
treefd8c49c0508540b397a2a4d86bd4709ece773777 /share/man/man5
parente99866cc23f1024fba9290d4e2d249b66e0cdcfe (diff)
"no" is optional, of course, fix BNF.
Diffstat (limited to 'share/man/man5')
-rw-r--r--share/man/man5/nat.conf.54
1 files changed, 2 insertions, 2 deletions
diff --git a/share/man/man5/nat.conf.5 b/share/man/man5/nat.conf.5
index 405aa629ed3..4a46c240942 100644
--- a/share/man/man5/nat.conf.5
+++ b/share/man/man5/nat.conf.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: nat.conf.5,v 1.20 2002/01/08 09:31:55 dhartmei Exp $
+.\" $OpenBSD: nat.conf.5,v 1.21 2002/01/08 16:28:12 dhartmei Exp $
.\"
.\" Copyright (c) 2001 Ian Darwin. All rights reserved.
.\"
@@ -62,7 +62,7 @@ to another host and optionally a different port.
.Sh GRAMMAR
Syntax for filter rules in BNF:
.Bd -literal
-rule = "no" ( nat_rule | binat_rule | rdr_rule ) .
+rule = [ "no" ] ( nat_rule | binat_rule | rdr_rule ) .
nat_rule = "nat" "on" [ "!" ] ifname [ protospec ] "from" ipspec
"to" ipspec [ "->" address ] .