From: Alan T. DeKok Date: Fri, 6 Jan 2023 16:25:27 +0000 (-0500) Subject: print packet name, too X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a9e2f5586be77577e9df84f36d68d024b86fcc4d;p=thirdparty%2Ffreeradius-server.git print packet name, too so that the _msg argument to the macro is used --- diff --git a/src/protocols/tacacs/decode.c b/src/protocols/tacacs/decode.c index 2b12e2d3373..38727116d36 100644 --- a/src/protocols/tacacs/decode.c +++ b/src/protocols/tacacs/decode.c @@ -42,7 +42,7 @@ #define ARG_COUNT_CHECK(_msg, _arg_cnt) do { \ if ((p + _arg_cnt) > end) { \ - fr_strerror_printf("Argument count %u overflows the remaining data in the packet", _arg_cnt); \ + fr_strerror_printf("Argument count %u overflows the remaining data in the %s packet", _arg_cnt, _msg); \ goto fail; \ } \ p += _arg_cnt; \