DHCPREQUEST in REBINDING state shouldn't have reqip option.
See RFC2131 pg31 paragraph 6.
This commit is contained in:
parent
9b8c63d998
commit
23d23c108a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user