]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
typo
authorAlan T. DeKok <aland@freeradius.org>
Wed, 22 Jun 2022 15:28:53 +0000 (11:28 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 23 Jun 2022 12:50:42 +0000 (08:50 -0400)
src/lib/unlang/condition.c

index c3a0a7a48111c9e0e5f17a4fbedeb937931f7ba3..a41a9f35182d32f052572ad0c7345a8f43bfda50 100644 (file)
@@ -119,7 +119,7 @@ static unlang_action_t unlang_if(rlm_rcode_t *p_result, request_t *request, unla
        fr_value_box_list_init(&state->out);
 
        if (unlang_xlat_push(state, &state->success, &state->out,
-                            request, gext->cond, UNLANG_SUB_FRAME) < 0) return UNLANG_ACTION_FAIL;
+                            request, gext->head, UNLANG_SUB_FRAME) < 0) return UNLANG_ACTION_FAIL;
 
        return UNLANG_ACTION_PUSHED_CHILD;
 #endif