]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
typo
authorAlan T. DeKok <aland@freeradius.org>
Thu, 19 Jan 2023 14:37:51 +0000 (09:37 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 19 Jan 2023 14:37:51 +0000 (09:37 -0500)
src/protocols/tacacs/base.c

index 336e010753b145769c243ed422f7caf84c9cff15..2d38f5de9cf1a4b5aa46971b080c555678138dfe 100644 (file)
@@ -585,7 +585,7 @@ void _fr_tacacs_packet_log_hex(fr_log_t const *log, fr_tacacs_packet_t const *pa
 
                        print_hex(log, file, line, "      argc           ", p, hdr[1], end);
 
-                       p = hdr + 6 + hdr[7];
+                       p = hdr + 6 + hdr[1];
                        print_ascii(log, file, line, "      server_msg     ", p, fr_nbo_to_uint16(hdr + 2), end);
                        p += fr_nbo_to_uint16(hdr + 2);