]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
let's use the enum
authorAlan T. DeKok <aland@freeradius.org>
Mon, 6 Jun 2022 20:32:16 +0000 (16:32 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 7 Jun 2022 02:01:55 +0000 (22:01 -0400)
src/lib/unlang/xlat_expr.c

index a889cecdafcf53cbce6c749c49050372a224df5a..8a42adae42eb981ea10d8dd3940d743c8441a66e 100644 (file)
@@ -953,7 +953,7 @@ static xlat_action_t xlat_logical_process_arg(TALLOC_CTX *ctx, fr_dcursor_t *out
 
                if (rctx->box->type != FR_TYPE_BOOL) {
                        fr_value_box_clear(rctx->box);
-                       fr_value_box_init(rctx->box, FR_TYPE_BOOL, NULL, false);
+                       fr_value_box_init(rctx->box, FR_TYPE_BOOL, attr_expr_bool_enum, false);
                }
 
                vp = tmpl_dcursor_init(NULL, NULL, &cc, &cursor, request, node->vpt);