DHCPREQUEST in REBINDING state shouldn't have reqip option.

See RFC2131 pg31 paragraph 6.
This commit is contained in:
Nicholas J. Kain 2020-10-19 05:13:47 -04:00
parent 9b8c63d998
commit 23d23c108a

View File

@ -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);