From: Alan T. DeKok Date: Sun, 19 Dec 2021 13:44:35 +0000 (-0500) Subject: clarify error message X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=80aa67f3d7e25b7db8e9201f533a41fa9818e1df;p=thirdparty%2Ffreeradius-server.git clarify error message --- diff --git a/src/protocols/tacacs/decode.c b/src/protocols/tacacs/decode.c index c4207d0c64c..1704c14e739 100644 --- a/src/protocols/tacacs/decode.c +++ b/src/protocols/tacacs/decode.c @@ -325,7 +325,7 @@ ssize_t fr_tacacs_decode(TALLOC_CTX *ctx, fr_pair_list_t *out, uint8_t const *bu * Call the struct encoder to do the actual work. */ if (fr_struct_from_network(ctx, out, attr_tacacs_packet, buffer, buffer_len, false, NULL, NULL, NULL) < 0) { - fr_strerror_printf("Problems to decode %s using fr_struct_from_network()", attr_tacacs_packet->name); + fr_strerror_printf("Failed decoding TACACS header - %s", fr_strerror()); return -1; }