summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2007-10-22 00:40:47 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2007-10-22 00:40:47 +0000
commitacae103f9c0f717e8a6d493d1e14f5f4bcd2638f (patch)
tree17903727f07a0059cc6082fe5048904b1dc3423e /sbin
parentbfadd051e379a4e92b53573d6394b2c9f77860b7 (diff)
pfctl does not need file secrecy
Diffstat (limited to 'sbin')
-rw-r--r--sbin/pfctl/parse.y6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/pfctl/parse.y b/sbin/pfctl/parse.y
index 0200ac224b8..1416f12aeb9 100644
--- a/sbin/pfctl/parse.y
+++ b/sbin/pfctl/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.530 2007/10/16 19:20:27 mpf Exp $ */
+/* $OpenBSD: parse.y,v 1.531 2007/10/22 00:40:46 deraadt Exp $ */
/*
* Copyright (c) 2001 Markus Friedl. All rights reserved.
@@ -504,7 +504,7 @@ ruleset : /* empty */
include : INCLUDE STRING {
struct file *nfile;
- if ((nfile = pushfile($2, 1)) == NULL) {
+ if ((nfile = pushfile($2, 0)) == NULL) {
yyerror("failed to include file %s", $2);
free($2);
YYERROR;
@@ -5518,7 +5518,7 @@ parse_config(char *filename, struct pfctl *xpf)
blockpolicy = PFRULE_DROP;
require_order = 1;
- if ((file = pushfile(filename, 1)) == NULL) {
+ if ((file = pushfile(filename, 0)) == NULL) {
warn("cannot open the main config file!");
return (-1);
}