]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
use consistent names
authorAlan T. DeKok <aland@freeradius.org>
Wed, 15 Feb 2023 21:38:49 +0000 (16:38 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Fri, 17 Feb 2023 02:54:18 +0000 (21:54 -0500)
src/process/tacacs/base.c

index f6cc104c42cbce79efb96162f85465fb3d9bd367..36cf0d7d1ac9ce0212a9f1a6517ece2e8d0c9601 100644 (file)
@@ -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;