From: Francois-Xavier Le Bail Date: Wed, 19 Mar 2025 13:42:26 +0000 (+0100) Subject: DHCP: Fix typos in some error messages X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/4346b166c2cf0242e918e7860834133e22262649?ds=sidebyside DHCP: Fix typos in some error messages (cherry picked from commit a691f1a961ee78b59bcd06cf4f4abf9d2120273c) --- diff --git a/print-bootp.c b/print-bootp.c index 9af5e2ab..747a9836 100644 --- a/print-bootp.c +++ b/print-bootp.c @@ -778,7 +778,7 @@ rfc1048_print(netdissect_options *ndo, case TAG_NETBIOS_NODE: /* this option should be at least 1 byte long */ if (len < 1) { - ND_PRINT("[ERROR: length < 1 bytes]"); + ND_PRINT("[ERROR: length < 1 byte]"); break; } tag = GET_U_1(bp); @@ -790,7 +790,7 @@ rfc1048_print(netdissect_options *ndo, case TAG_OPT_OVERLOAD: /* this option should be at least 1 byte long */ if (len < 1) { - ND_PRINT("[ERROR: length < 1 bytes]"); + ND_PRINT("[ERROR: length < 1 byte]"); break; } tag = GET_U_1(bp); @@ -835,7 +835,7 @@ rfc1048_print(netdissect_options *ndo, /* this option should be at least 1 byte long */ if (len < 1) { - ND_PRINT("[ERROR: length < 1 bytes]"); + ND_PRINT("[ERROR: length < 1 byte]"); break; } type = GET_U_1(bp);