]> The Tcpdump Group git mirrors - tcpdump/commitdiff
DHCP: Fix typos in some error messages
authorFrancois-Xavier Le Bail <[email protected]>
Wed, 19 Mar 2025 13:42:26 +0000 (14:42 +0100)
committerFrancois-Xavier Le Bail <[email protected]>
Wed, 19 Mar 2025 13:50:08 +0000 (14:50 +0100)
print-bootp.c

index 8fc4a4913b043a0d02918fc89379605b71b22deb..5d7a98561f0766cdfe43e19259004e8d0a8a292b 100644 (file)
@@ -782,7 +782,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);
@@ -794,7 +794,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);
@@ -836,7 +836,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);