From: Francois-Xavier Le Bail Date: Fri, 18 May 2018 20:27:34 +0000 (+0200) Subject: IEEE 802.11: Print the SSID with the fn_print_str() function X-Git-Tag: tcpdump-4.99-bp~1175 X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/419cc7087b660763d63e6f2ca6a83f25a4e15622?ds=inline IEEE 802.11: Print the SSID with the fn_print_str() function We cannot use nd_print() because the parameter is not a pointer on the packet buffer. --- diff --git a/print-802_11.c b/print-802_11.c index c8238759..b668d0c6 100644 --- a/print-802_11.c +++ b/print-802_11.c @@ -402,7 +402,7 @@ struct meshcntl_t { #define PRINT_SSID(p) \ if (p.ssid_present) { \ ND_PRINT(" ("); \ - nd_print(ndo, p.ssid.ssid, NULL); \ + fn_print_str(ndo, p.ssid.ssid); \ ND_PRINT(")"); \ }