]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Revert "cannot assign list to attribute. Helps with #4103"
authorAlan T. DeKok <aland@freeradius.org>
Tue, 8 Jun 2021 18:12:25 +0000 (14:12 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 8 Jun 2021 18:12:25 +0000 (14:12 -0400)
This reverts commit ffedcdb204143cf6c725a16a2833f6324cc22811.

src/main/map.c

index 31ffe4f6179ca41f8b525d1fc8a5c1f57992c9aa..451a58a15c473c3d1db69042a3d8ac6a4bb466b6 100644 (file)
@@ -290,8 +290,8 @@ int map_afrom_cp(TALLOC_CTX *ctx, vp_map_t **out, CONF_PAIR *cp,
         *      be done in an xlat.
         */
        if ((map->rhs->type == TMPL_TYPE_ATTR) &&
-           ((map->rhs->tmpl_num == NUM_COUNT) || (map->rhs->tmpl_num == NUM_ALL))) {
-               cf_log_err_cp(cp, "Cannot assign from a count / wildcard");
+           (map->rhs->tmpl_num == NUM_COUNT)) {
+               cf_log_err_cp(cp, "Cannot assign from a count");
                goto error;
        }