summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorDaniel Hartmeier <dhartmei@cvs.openbsd.org>2003-02-08 15:39:07 +0000
committerDaniel Hartmeier <dhartmei@cvs.openbsd.org>2003-02-08 15:39:07 +0000
commita8f39474c45f84a0f066a4e45acfeb767f17f7a2 (patch)
tree1188c691548f81039a7e1d403c5c8879bc0e4024 /sbin
parent056c0666b142d98cfceb833ec3d26ef57bd1bc06 (diff)
Add an example of "pfctl -a anchor -s rules" usage, and make it clear
that -a -s is needed for this, not -sa.
Diffstat (limited to 'sbin')
-rw-r--r--sbin/pfctl/pfctl.811
1 files changed, 8 insertions, 3 deletions
diff --git a/sbin/pfctl/pfctl.8 b/sbin/pfctl/pfctl.8
index 689b7d377c0..32d49e10d59 100644
--- a/sbin/pfctl/pfctl.8
+++ b/sbin/pfctl/pfctl.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pfctl.8,v 1.71 2003/01/28 10:40:21 jmc Exp $
+.\" $OpenBSD: pfctl.8,v 1.72 2003/02/08 15:39:06 dhartmei Exp $
.\"
.\" Copyright (c) 2001 Kjell Wooding. All rights reserved.
.\"
@@ -111,6 +111,11 @@ Evaluation of
.Pa anchor
rules from the main ruleset is described in
.Xr pf.conf 5 .
+.Bd -literal -offset indent
+Example:
+Show all filter rules inside anchor foo
+.Ic # pfctl -a foo -s rules
+.Ed
.It Fl A
Load only the queue rules present in the rule file.
Other rules and options are ignored.
@@ -199,8 +204,8 @@ connection).
.It Fl s Ar Anchors
Show the currently loaded anchors.
If
-.Fl a
-is specified, the named rulesets currently loaded in the specified
+.Fl a Ar anchor
+is specified as well, the named rulesets currently loaded in the specified
anchor are shown instead.
.It Fl s Ar state
Show the contents of the state table.