From e2faa63bc3f1c17fb84e30df16faeb6df6291c32 Mon Sep 17 00:00:00 2001 From: Francois-Xavier Le Bail Date: Sat, 5 Feb 2022 18:28:20 +0100 Subject: [PATCH] RADIUS: Add a comment about "don't use GET_IP6ADDR_STRING()" (cherry picked from commit 649d0575fd588302a6235532409fcd03ef2dde30) --- print-radius.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/print-radius.c b/print-radius.c index a46c7499..57d7e507 100644 --- a/print-radius.c +++ b/print-radius.c @@ -1084,7 +1084,7 @@ print_attr_netmask6(netdissect_options *ndo, if (length > 2) memcpy(data2, data+2, length-2); - ND_PRINT("%s/%u", ip6addr_string(ndo, data2), GET_U_1(data + 1)); + ND_PRINT("%s/%u", ip6addr_string(ndo, data2), GET_U_1(data + 1)); /* local buffer, not packet data; don't use GET_IP6ADDR_STRING() */ if (GET_U_1(data + 1) > 8 * (length - 2)) ND_PRINT(" (inconsistent prefix length)"); -- 2.39.5