mirror of
https://github.com/rsmarples/dhcpcd.git
synced 2024-11-23 18:14:09 +08:00
When rebooting, directly call send_request to preserve state.
This commit is contained in:
parent
dfa8de358f
commit
26ede0ceb8
6
dhcp.c
6
dhcp.c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user