diff options
author | Florian Obser <florian@cvs.openbsd.org> | 2018-07-11 08:47:04 +0000 |
---|---|---|
committer | Florian Obser <florian@cvs.openbsd.org> | 2018-07-11 08:47:04 +0000 |
commit | 98175f825644645913b9890cccfad96f048f6073 (patch) | |
tree | 3c787e671d099306fb6a4aafe7aa29ea14183f1c /usr.sbin | |
parent | c8c2ceaa8c2050af8217797eb08fa4fbd75fada0 (diff) |
there is nothing secret about rad.conf
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/rad/parse.y | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/rad/parse.y b/usr.sbin/rad/parse.y index ab533c8be09..bb2ce2ba4e9 100644 --- a/usr.sbin/rad/parse.y +++ b/usr.sbin/rad/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.1 2018/07/10 16:39:54 florian Exp $ */ +/* $OpenBSD: parse.y,v 1.2 2018/07/11 08:47:03 florian Exp $ */ /* * Copyright (c) 2018 Florian Obser <florian@openbsd.org> @@ -136,7 +136,7 @@ grammar : /* 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; @@ -705,7 +705,7 @@ parse_config(char *filename) conf = config_new_empty(); ra_options = NULL; - file = pushfile(filename, !(cmd_opts & OPT_NOACTION)); + file = pushfile(filename, 0); if (file == NULL) { free(conf); return (NULL); |