From: Alan T. DeKok Date: Sat, 21 Jan 2023 21:02:04 +0000 (-0500) Subject: print out what we're assigning before we assign it X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f27f13b048e3801b0a06464cb869d4b343514d9;p=thirdparty%2Ffreeradius-server.git print out what we're assigning before we assign it --- diff --git a/src/lib/unlang/edit.c b/src/lib/unlang/edit.c index f7b783e6734..e41e70b578a 100644 --- a/src/lib/unlang/edit.c +++ b/src/lib/unlang/edit.c @@ -621,13 +621,13 @@ static int apply_edits_to_leaf(request_t *request, unlang_frame_state_edit_t *st * Loop over the remaining items, adding the VPs we've just created. */ while ((box = fr_dcursor_next(&cursor)) != NULL) { + RDEBUG2("%s %s %pV", current->lhs.vpt->name, fr_tokens[map->op], box); + MEM(vp = fr_pair_afrom_da(current->lhs.vp_parent, da)); if (fr_value_box_cast(vp, &vp->data, vp->da->type, vp->da, box) < 0) goto fail; if (fr_edit_list_insert_pair_tail(state->el, ¤t->lhs.vp_parent->vp_group, vp) < 0) goto fail; vp->op = T_OP_EQ; - - RDEBUG2("%s %s %pV", current->lhs.vpt->name, fr_tokens[map->op], box); } goto done;