summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhenning <henning@openbsd.org>2003-01-30 15:05:37 +0000
committerhenning <henning@openbsd.org>2003-01-30 15:05:37 +0000
commitd32b9c57865bddfe8440ccbbbd3f32b28dc67870 (patch)
tree12ea6ca19c125a05366dffd9b9377968b9d6fab7
parentadd support for :network and :broadcast modifiers to interface names. (diff)
downloadwireguard-openbsd-d32b9c57865bddfe8440ccbbbd3f32b28dc67870.tar.xz
wireguard-openbsd-d32b9c57865bddfe8440ccbbbd3f32b28dc67870.zip
document :network and :broadcast modifiers
help jmc@
-rw-r--r--share/man/man5/pf.conf.510
1 files changed, 9 insertions, 1 deletions
diff --git a/share/man/man5/pf.conf.5 b/share/man/man5/pf.conf.5
index 031846886f5..7c86ae8dd99 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.171 2003/01/25 17:49:37 cedric Exp $
+.\" $OpenBSD: pf.conf.5,v 1.172 2003/01/30 15:05:37 henning Exp $
.\"
.\" Copyright (c) 2002, Daniel Hartmeier
.\" All rights reserved.
@@ -892,6 +892,14 @@ Any address which is not currently routable.
Any address that matches the given table.
.El
.Pp
+Interface names can have modifiers appended:
+.Bl -tag -width ":broadcast" -compact
+.It Ar :network
+Translates to the network(s) attached to the interface.
+.It Ar :broadcast
+Translates to the interface's broadcast address(es).
+.El
+.Pp
Host name resolution and interface to address translation are done at
ruleset load-time.
When the address of an interface (or host name) changes (under DHCP or PPP,