From f864a0317ca53f85e466a1907e2f5dce082aa2dc Mon Sep 17 00:00:00 2001 From: "Nicholas J. Kain" Date: Wed, 27 Jul 2011 07:49:30 -0400 Subject: [PATCH] Cosmetic cleanups of comments. --- ndhc/dhcp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ndhc/dhcp.c b/ndhc/dhcp.c index ae0b5cd..1cf78d4 100644 --- a/ndhc/dhcp.c +++ b/ndhc/dhcp.c @@ -144,6 +144,7 @@ static int send_dhcp_cooked(struct client_state_t *cs, struct dhcpmsg *payload) goto out_fd; } + // Send packets that are as short as possible. ssize_t endloc = get_end_option_idx(payload); if (endloc < 0) { log_error("send_dhcp_cooked: No end marker. Not sending."); @@ -403,8 +404,7 @@ static int send_dhcp_raw(struct dhcpmsg *payload) if (fd == -1) return ret; - // Send packets that are as short as possible, since some servers are buggy - // and drop packets that are longer than 562 bytes. + // Send packets that are as short as possible. ssize_t endloc = get_end_option_idx(payload); if (endloc < 0) { log_error("send_dhcp_raw: No end marker. Not sending.");