From: Alan T. DeKok Date: Wed, 15 Feb 2023 21:38:49 +0000 (-0500) Subject: use consistent names X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8235566a334455c477b05f9d99d408723c1dd7bc;p=thirdparty%2Ffreeradius-server.git use consistent names --- diff --git a/src/process/tacacs/base.c b/src/process/tacacs/base.c index f6cc104c42c..36cf0d7d1ac 100644 --- a/src/process/tacacs/base.c +++ b/src/process/tacacs/base.c @@ -1065,7 +1065,7 @@ RESUME(accounting_request) * Something set the reply code, so we reply and don't run "accounting foo { ... }" */ if (request->reply->code) { - fr_assert(PROCESS_PACKET_CODE_VALID(request->packet->code)); + fr_assert(FR_TACACS_PACKET_CODE_VALID(request->packet->code)); RDEBUG("Reply packet type was set to %s", fr_tacacs_packet_names[request->reply->code]); @@ -1113,7 +1113,7 @@ static unlang_action_t mod_process(rlm_rcode_t *p_result, module_ctx_t const *mc PROCESS_TRACE; (void)talloc_get_type_abort_const(mctx->inst->data, process_tacacs_t); - fr_assert(PROCESS_PACKET_CODE_VALID(request->packet->code)); + fr_assert(FR_TACACS_PACKET_CODE_VALID(request->packet->code)); request->component = "tacacs"; request->module = NULL;