From: Alan T. DeKok Date: Wed, 15 Sep 2021 19:13:17 +0000 (-0400) Subject: use new macros X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f080166320f1870406f43421c1f8bf51d37ccac;p=thirdparty%2Ffreeradius-server.git use new macros --- diff --git a/src/process/tacacs/base.c b/src/process/tacacs/base.c index ebc93d8dfa..6c777f7db8 100644 --- a/src/process/tacacs/base.c +++ b/src/process/tacacs/base.c @@ -320,9 +320,7 @@ RESUME(recv_tacacs) fr_assert(state->send != NULL); - return unlang_module_yield_to_section(p_result, request, - cs, state->rcode, state->send, - NULL, rctx); + return CALL_SEND_STATE(state); } RESUME(send_tacacs) diff --git a/src/process/ttls/base.c b/src/process/ttls/base.c index 07f62dc15b..80be20ac64 100644 --- a/src/process/ttls/base.c +++ b/src/process/ttls/base.c @@ -380,9 +380,7 @@ RESUME(access_request) send_reply: fr_assert(state->send != NULL); - return unlang_module_yield_to_section(p_result, request, - cs, state->rcode, state->send, - NULL, NULL); + return CALL_SEND_STATE(state); } /* @@ -593,9 +591,7 @@ RESUME(access_challenge) if (fr_request_to_state(inst->auth.state_tree, request) < 0) { request->reply->code = FR_RADIUS_CODE_DO_NOT_RESPOND; UPDATE_STATE_CS(reply); - return unlang_module_yield_to_section(p_result, request, - cs, state->rcode, state->send, - NULL, rctx); + return CALL_SEND_STATE(state); } fr_assert(request->reply->code == FR_RADIUS_CODE_ACCESS_CHALLENGE);