]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Pass right arguments to xlat async function
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Tue, 30 Jan 2018 23:41:21 +0000 (16:41 -0700)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Tue, 30 Jan 2018 23:45:32 +0000 (16:45 -0700)
Needs the xlat instance, not the wrapper struct

src/main/xlat_eval.c

index bc57eb95605f16d37222f1fef68a943a2f558117..afb687ca785ab0a7d4d3be1487f298af6bc335c1 100644 (file)
@@ -775,7 +775,7 @@ xlat_action_t xlat_frame_eval_repeat(TALLOC_CTX *ctx, fr_cursor_t *out,
                        if (RDEBUG_ENABLED2) fr_value_box_list_acopy(NULL, &result_copy, *result);
 
                        if (*result) (void) talloc_list_get_type_abort(*result, fr_value_box_t);
-                       xa = node->xlat->func.async(ctx, out, request, node->inst, thread_inst->data, result);
+                       xa = node->xlat->func.async(ctx, out, request, node->inst->data, thread_inst->data, result);
                        if (*result) (void) talloc_list_get_type_abort(*result, fr_value_box_t);
 
                        if (RDEBUG_ENABLED2) {