summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sbin/pfctl/parse.y8
-rw-r--r--share/man/man5/pf.conf.57
2 files changed, 9 insertions, 6 deletions
diff --git a/sbin/pfctl/parse.y b/sbin/pfctl/parse.y
index 11ffd536617..7d75c6b6708 100644
--- a/sbin/pfctl/parse.y
+++ b/sbin/pfctl/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.606 2011/07/27 00:26:10 mcbride Exp $ */
+/* $OpenBSD: parse.y,v 1.607 2011/07/29 10:51:46 mcbride Exp $ */
/*
* Copyright (c) 2001 Markus Friedl. All rights reserved.
@@ -654,6 +654,12 @@ option : SET REASSEMBLE yesno optnodf {
}
free($3);
}
+ | SET DEBUG DEBUG {
+ if (pfctl_set_debug(pf, "debug") != 0) {
+ yyerror("error setting debuglevel debug");
+ YYERROR;
+ }
+ }
| SET SKIP interface {
if (expand_skip_interface($3) != 0) {
yyerror("error setting skip interface(s)");
diff --git a/share/man/man5/pf.conf.5 b/share/man/man5/pf.conf.5
index 8a276c34f24..a663a6dc830 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.503 2011/07/27 07:16:08 jmc Exp $
+.\" $OpenBSD: pf.conf.5,v 1.504 2011/07/29 10:51:46 mcbride Exp $
.\"
.\" Copyright (c) 2002, Daniel Hartmeier
.\" All rights reserved.
@@ -27,7 +27,7 @@
.\" ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: July 27 2011 $
+.Dd $Mdocdate: July 29 2011 $
.Dt PF.CONF 5
.Os
.Sh NAME
@@ -1047,9 +1047,6 @@ This should be a keyword from the following ordered list
.Cm info ,
and
.Cm debug .
-The last keyword,
-.Cm debug ,
-must be quoted.
These keywords correspond to the similar (LOG_) values specified to the
.Xr syslog 3
library routine.