From: florian Date: Wed, 11 Jul 2018 08:47:03 +0000 (+0000) Subject: there is nothing secret about rad.conf X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=3a682461f597822f6bae25cbd43d4ae4a69cb0e2;p=openbsd there is nothing secret about rad.conf --- 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 @@ -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);