From 23d23c108ab4616d92e2045c42c6681181d9a3a8 Mon Sep 17 00:00:00 2001 From: "Nicholas J. Kain" Date: Mon, 19 Oct 2020 05:13:47 -0400 Subject: [PATCH] DHCPREQUEST in REBINDING state shouldn't have reqip option. See RFC2131 pg31 paragraph 6. --- src/dhcp.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/dhcp.c b/src/dhcp.c index 0514339..043975d 100644 --- a/src/dhcp.c +++ b/src/dhcp.c @@ -487,7 +487,6 @@ ssize_t send_rebind(struct client_state_t cs[static 1]) struct dhcpmsg packet = {.xid = cs->xid}; init_packet(&packet, DHCPREQUEST); packet.ciaddr = cs->clientAddr; - add_option_reqip(&packet, cs->clientAddr); add_option_maxsize(&packet); add_option_request_list(&packet); add_options_vendor_hostname(&packet);