summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordhartmei <dhartmei@openbsd.org>2003-01-19 13:48:06 +0000
committerdhartmei <dhartmei@openbsd.org>2003-01-19 13:48:06 +0000
commit3181eb58178a85d55523d74748ae83d2253e9513 (patch)
tree1be172c75f786b42e2760cf533785d40f7fa9ef6
parentSpin off label string expansion into a separate function. Clarifies (diff)
downloadwireguard-openbsd-3181eb58178a85d55523d74748ae83d2253e9513.tar.xz
wireguard-openbsd-3181eb58178a85d55523d74748ae83d2253e9513.zip
The -s option to show anchors is 'A' or 'Anchors', not 'a' (which is used
to show 'all' information).
-rw-r--r--sbin/pfctl/pfctl.84
-rw-r--r--sbin/pfctl/pfctl.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sbin/pfctl/pfctl.8 b/sbin/pfctl/pfctl.8
index 6515fa411d0..94e453eddfd 100644
--- a/sbin/pfctl/pfctl.8
+++ b/sbin/pfctl/pfctl.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pfctl.8,v 1.65 2003/01/10 16:09:19 cedric Exp $
+.\" $OpenBSD: pfctl.8,v 1.66 2003/01/19 13:48:06 dhartmei Exp $
.\"
.\" Copyright (c) 2001 Kjell Wooding. All rights reserved.
.\"
@@ -187,7 +187,7 @@ will skip evaluation of rules where possible.
Packets passed statefully are counted in the rule that created the state
(even though the rule isn't evaluated more than once for the entire
connection).
-.It Fl s Ar anchor
+.It Fl s Ar Anchors
Show the currently loaded anchors.
If
.Fl a
diff --git a/sbin/pfctl/pfctl.c b/sbin/pfctl/pfctl.c
index d65d6a0224b..f027b3b2046 100644
--- a/sbin/pfctl/pfctl.c
+++ b/sbin/pfctl/pfctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfctl.c,v 1.135 2003/01/18 22:23:00 dhartmei Exp $ */
+/* $OpenBSD: pfctl.c,v 1.136 2003/01/19 13:48:06 dhartmei Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -165,7 +165,7 @@ static char *clearopt_list[] = {
};
static char *showopt_list[] = {
- "nat", "queue", "rules", "anchors", "state", "info", "labels",
+ "nat", "queue", "rules", "Anchors", "state", "info", "labels",
"timeouts", "memory", "Tables", "all", NULL
};