X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/8534f3b7bfbb81a76fc110a79bbbfedf35cc4f30..06394b6e303a738fdfccf6e01e0b2f3bb140b36f:/print-zephyr.c?ds=inline diff --git a/print-zephyr.c b/print-zephyr.c index 76351bd3..8d199b56 100644 --- a/print-zephyr.c +++ b/print-zephyr.c @@ -32,6 +32,8 @@ #include #include +#include "netdissect-ctype.h" + #include "netdissect.h" struct z_packet { @@ -134,7 +136,7 @@ str_to_lower(const char *string) zb_string = z_buf; while (*zb_string) { - *zb_string = ND_TOLOWER((unsigned char)(*zb_string)); + *zb_string = ND_ASCII_TOLOWER(*zb_string); zb_string++; } @@ -344,5 +346,4 @@ zephyr_print(netdissect_options *ndo, const u_char *cp, int length) trunc: nd_print_trunc(ndo); - return; }