From: Alan T. DeKok Date: Fri, 10 Dec 2021 22:49:41 +0000 (-0500) Subject: relax checks X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cdcdcc19bb35dc68018e26914fced72a3623abef;p=thirdparty%2Ffreeradius-server.git relax checks --- diff --git a/src/lib/unlang/compile.c b/src/lib/unlang/compile.c index 332201ae94..17741a119a 100644 --- a/src/lib/unlang/compile.c +++ b/src/lib/unlang/compile.c @@ -586,18 +586,6 @@ static bool pass2_fixup_map(map_t *map, tmpl_rules_t const *rules, fr_dict_attr_ return false; } } - - /* - * If the LHS is structural, then that limits - * what the RHS can be. - */ - if (tmpl_is_list(map->lhs) || - (tmpl_is_attr(map->lhs) && fr_type_is_structural(tmpl_da(map->lhs)->type))) { - if (!tmpl_is_list(map->rhs) && !tmpl_is_attr(map->rhs)) { - cf_log_err(map->ci, "Cannot assign xlat / data / exec to list or structural type"); - return false; - } - } } /*