When rebooting, directly call send_request to preserve state.

This commit is contained in:
Roy Marples 2014-05-06 12:42:39 +00:00
parent dfa8de358f
commit 26ede0ceb8

6
dhcp.c
View File

@ -2072,8 +2072,10 @@ dhcp_reboot(struct interface *ifp)
/* Don't bother ARP checking as the server could NAK us first. */
if (ifo->options & DHCPCD_INFORM)
dhcp_inform(ifp);
else
dhcp_request(ifp);
else {
/* Don't call dhcp_request as that would change the state */
send_request(ifp);
}
}
void