diff options
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/pfctl/parse.y | 8 |
1 files changed, 7 insertions, 1 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)"); |