]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
we don't need this code
authorAlan T. DeKok <aland@freeradius.org>
Thu, 30 Apr 2020 19:03:37 +0000 (15:03 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Fri, 1 May 2020 16:22:31 +0000 (12:22 -0400)
src/lib/unlang/map.c

index b9d2232e4dabf5f28854cab6c6d56592866314c1..0280478b1652b41f93d0887863c6cd542ba6e5d3 100644 (file)
@@ -169,15 +169,8 @@ static unlang_action_t list_mod_create(REQUEST *request, rlm_rcode_t *presult)
 
                case UNLANG_UPDATE_MAP_EXPANDED_LHS:
                        /*
-                        *      Concat the top level results together
+                        *      map_to_list_mod() already concatentates the LHS, so we don't need to do it here.
                         */
-                       if (update_state->lhs_result &&
-                           (fr_value_box_list_concat(update_state, update_state->lhs_result, &update_state->lhs_result,
-                                                     FR_TYPE_STRING, true) < 0)) {
-                               RPEDEBUG("Failed concatenating LHS expansion results");
-                               goto error;
-                       }
-
                        if (!map->rhs) goto next;
 
                        update_state->state = UNLANG_UPDATE_MAP_EXPANDED_RHS;