Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/rump_dhcpclient fix typo in rump dhcpclient definition.
details: https://anonhg.NetBSD.org/src/rev/aec5232afa17
branches: trunk
changeset: 1023629:aec5232afa17
user: andvar <andvar%NetBSD.org@localhost>
date: Sun Sep 19 10:46:17 2021 +0000
description:
fix typo in rump dhcpclient definition.
diffstat:
usr.bin/rump_dhcpclient/dhcp.c | 4 ++--
usr.bin/rump_dhcpclient/dhcp.h | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diffs (29 lines):
diff -r d83efa3ec2e7 -r aec5232afa17 usr.bin/rump_dhcpclient/dhcp.c
--- a/usr.bin/rump_dhcpclient/dhcp.c Sun Sep 19 10:34:06 2021 +0000
+++ b/usr.bin/rump_dhcpclient/dhcp.c Sun Sep 19 10:46:17 2021 +0000
@@ -730,11 +730,11 @@
}
*p++ = DHO_END;
-#ifdef BOOTP_MESSAGE_LENTH_MIN
+#ifdef BOOTP_MESSAGE_LENGTH_MIN
/* Some crappy DHCP servers think they have to obey the BOOTP minimum
* message length.
* They are wrong, but we should still cater for them. */
- while (p - m < BOOTP_MESSAGE_LENTH_MIN)
+ while (p - m < BOOTP_MESSAGE_LENGTH_MIN)
*p++ = DHO_PAD;
#endif
diff -r d83efa3ec2e7 -r aec5232afa17 usr.bin/rump_dhcpclient/dhcp.h
--- a/usr.bin/rump_dhcpclient/dhcp.h Sun Sep 19 10:34:06 2021 +0000
+++ b/usr.bin/rump_dhcpclient/dhcp.h Sun Sep 19 10:46:17 2021 +0000
@@ -133,7 +133,7 @@
#define DHCP_OPTION_LEN (MTU_MAX - DHCP_FIXED_LEN)
/* Some crappy DHCP servers require the BOOTP minimum length */
-#define BOOTP_MESSAGE_LENTH_MIN 300
+#define BOOTP_MESSAGE_LENGTH_MIN 300
struct dhcp_message {
uint8_t op; /* message type */
Home |
Main Index |
Thread Index |
Old Index