From: Alan T. DeKok Date: Tue, 8 Jun 2021 18:12:25 +0000 (-0400) Subject: Revert "cannot assign list to attribute. Helps with #4103" X-Git-Tag: release_3_0_23~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd523bac62d72dc2ded120188bb11781eee37d08;p=thirdparty%2Ffreeradius-server.git Revert "cannot assign list to attribute. Helps with #4103" This reverts commit ffedcdb204143cf6c725a16a2833f6324cc22811. --- diff --git a/src/main/map.c b/src/main/map.c index 31ffe4f6179..451a58a15c4 100644 --- a/src/main/map.c +++ b/src/main/map.c @@ -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; }