From: Alan T. DeKok Date: Tue, 14 Feb 2023 22:14:05 +0000 (-0500) Subject: try to quiet Coverity X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da6badda2e8e5bdb590ab7a419d041681abbdff4;p=thirdparty%2Ffreeradius-server.git try to quiet Coverity --- diff --git a/src/process/tacacs/base.c b/src/process/tacacs/base.c index 51026212fed..950a612b027 100644 --- a/src/process/tacacs/base.c +++ b/src/process/tacacs/base.c @@ -1060,6 +1060,8 @@ 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)); + RDEBUG("Reply packet type was set to %s", fr_tacacs_packet_names[request->reply->code]); UPDATE_STATE(reply);