summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorDaniel Hartmeier <dhartmei@cvs.openbsd.org>2001-09-28 14:12:16 +0000
committerDaniel Hartmeier <dhartmei@cvs.openbsd.org>2001-09-28 14:12:16 +0000
commitc18d4ef2e6756ffdd6b5a5464b46dfea56f11000 (patch)
treeb16d0870b11201ddf31c4e965f43e8670e25460a /share
parent3771420b8f178cc3edbd8e6a44f1304a39b035d7 (diff)
Support underscores in macro names and document it in the man page.
Diffstat (limited to 'share')
-rw-r--r--share/man/man5/pf.conf.511
1 files changed, 7 insertions, 4 deletions
diff --git a/share/man/man5/pf.conf.5 b/share/man/man5/pf.conf.5
index 72b103d4a3f..88e3a40306b 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.16 2001/09/25 19:55:25 dhartmei Exp $
+.\" $OpenBSD: pf.conf.5,v 1.17 2001/09/28 14:12:15 dhartmei Exp $
.\"
.\" Copyright (c) 2001, Daniel Hartmeier
.\" All rights reserved.
@@ -244,10 +244,13 @@ must match.
.Em pfctl
supports macro definition and expansion like:
.Bd -literal
- if="kue0"
- pass out on $if from any to any keep state
- pass in on $if from any to any port = 25 keep state
+ ext_if = "kue0"
+ pass out on $ext_if from any to any keep state
+ pass in on $ext_if from any to any port = 25 keep state
.Ed
+.Pp
+Macro names must start with a letter and may contain letters, digits
+and underscores.
.Sh STATEFUL INSPECTION
.Em pf
is a stateful packet filter, which means it can track the state of