From: Alan T. DeKok Date: Wed, 3 Nov 2021 16:30:24 +0000 (-0400) Subject: remove special cases for "instantiate", it no longer exists X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f961b7ebc04f2b9229c0612a718cf9c1b478532a;p=thirdparty%2Ffreeradius-server.git remove special cases for "instantiate", it no longer exists --- diff --git a/src/lib/server/cf_file.c b/src/lib/server/cf_file.c index 921c586fb3c..49cd14c1e64 100644 --- a/src/lib/server/cf_file.c +++ b/src/lib/server/cf_file.c @@ -1839,15 +1839,8 @@ static int parse_input(cf_stack_t *stack) * statements. And for those, "unlang" * statements are only allowed in child * subsection. - * - * This isn't _strictly_ true for "instantiate", - * as we allow "group", "redundant", and a few - * more things there. But only allow "if" as a - * keyword when it's inside of another grouping - * section. */ if (!parent->allow_unlang && !parent->item.parent) { - if (strcmp(css->name1, "instantiate") == 0) css->allow_unlang = 2; if (strcmp(css->name1, "server") == 0) css->allow_unlang = 2; if (strcmp(css->name1, "policy") == 0) css->allow_unlang = 2;