Skip to content

Commit a691f1a

Browse files
committed
DHCP: Fix typos in some error messages
1 parent 50fd84b commit a691f1a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

print-bootp.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -782,7 +782,7 @@ rfc1048_print(netdissect_options *ndo,
782782
case TAG_NETBIOS_NODE:
783783
/* this option should be at least 1 byte long */
784784
if (len < 1) {
785-
ND_PRINT("[ERROR: length < 1 bytes]");
785+
ND_PRINT("[ERROR: length < 1 byte]");
786786
break;
787787
}
788788
tag = GET_U_1(bp);
@@ -794,7 +794,7 @@ rfc1048_print(netdissect_options *ndo,
794794
case TAG_OPT_OVERLOAD:
795795
/* this option should be at least 1 byte long */
796796
if (len < 1) {
797-
ND_PRINT("[ERROR: length < 1 bytes]");
797+
ND_PRINT("[ERROR: length < 1 byte]");
798798
break;
799799
}
800800
tag = GET_U_1(bp);
@@ -836,7 +836,7 @@ rfc1048_print(netdissect_options *ndo,
836836

837837
/* this option should be at least 1 byte long */
838838
if (len < 1) {
839-
ND_PRINT("[ERROR: length < 1 bytes]");
839+
ND_PRINT("[ERROR: length < 1 byte]");
840840
break;
841841
}
842842
type = GET_U_1(bp);

0 commit comments

Comments
 (0)