summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorDaniel Hartmeier <dhartmei@cvs.openbsd.org>2002-02-15 00:29:57 +0000
committerDaniel Hartmeier <dhartmei@cvs.openbsd.org>2002-02-15 00:29:57 +0000
commit58b31fe60430e7c1b893100256a3bde3afb6d2fa (patch)
treedfe98cad591c491ddbf58219777bfe7e4ef7fd16 /share
parent0f740ba89739a9b9f9c46421021580f9b51a4976 (diff)
Correct BNF, unary port operators are optional and default to =,
"pass ... to any port = ssh" and "pass ... to any port ssh" are equivalent.
Diffstat (limited to 'share')
-rw-r--r--share/man/man5/pf.conf.54
1 files changed, 2 insertions, 2 deletions
diff --git a/share/man/man5/pf.conf.5 b/share/man/man5/pf.conf.5
index 9ea742c50fa..f982735a08c 100644
--- a/share/man/man5/pf.conf.5
+++ b/share/man/man5/pf.conf.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pf.conf.5,v 1.30 2002/01/27 02:08:08 frantzen Exp $
+.\" $OpenBSD: pf.conf.5,v 1.31 2002/02/15 00:29:56 dhartmei Exp $
.\"
.\" Copyright (c) 2001, Daniel Hartmeier
.\" All rights reserved.
@@ -70,7 +70,7 @@ host = [ "!" ] address [ "/" mask-bits ] .
host-list = host [ "," host-list ] .
port = "port" ( unary-op | binary-op | "{" port-list "}" ) .
port-list = ( unary-op | binary-op ) [ "," port-list ] .
-unary-op = ( "=" | "!=" | "<" | "<=" | ">" | ">=" )
+unary-op = [ "=" | "!=" | "<" | "<=" | ">" | ">=" ]
( port-name | port-number ) .
binary-op = port-number ( "<>" | "><" ) port-number .