action = XLAT_ACTION_FAIL;
goto finish;
}
- fr_dcursor_append(out, vb_out);
+
+ if (vb_out->type == FR_TYPE_GROUP) {
+ fr_value_box_t *child_vb = NULL;
+ while ((child_vb = fr_value_box_list_pop_head(&vb_out->vb_group))) fr_dcursor_append(out, child_vb);
+ talloc_free(vb_out);
+ } else {
+ fr_dcursor_append(out, vb_out);
+ }
finish:
fr_redis_reply_free(&reply);
action = XLAT_ACTION_FAIL;
goto finish;
}
- fr_dcursor_append(out, vb_out);
+
+ if (vb_out->type == FR_TYPE_GROUP) {
+ fr_value_box_t *child_vb = NULL;
+ while ((child_vb = fr_value_box_list_pop_head(&vb_out->vb_group))) fr_dcursor_append(out, child_vb);
+ talloc_free(vb_out);
+ } else {
+ fr_dcursor_append(out, vb_out);
+ }
finish:
fr_redis_reply_free(&reply);