From: Arran Cudbard-Bell Date: Sat, 16 Mar 2024 00:13:04 +0000 (-0400) Subject: Disable broken check for key attributes X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a5b5cfab96b6826db853cd223cb6adb9e55301c6;p=thirdparty%2Ffreeradius-server.git Disable broken check for key attributes --- diff --git a/src/lib/unlang/compile.c b/src/lib/unlang/compile.c index 861dd4c7195..d3bf1519c30 100644 --- a/src/lib/unlang/compile.c +++ b/src/lib/unlang/compile.c @@ -1413,9 +1413,10 @@ static int unlang_fixup_edit(map_t *map, void *ctx) da = tmpl_attr_tail_da(map->lhs); if (!da->flags.internal && parent && (parent->type != FR_TYPE_GROUP) && (da->parent != parent)) { + /* FIXME - Broken check, doesn't work for key attributes */ cf_log_err(cp, "Invalid location for %s - it is not a child of %s", da->name, parent->name); - return -1; + return 0; } break;