diff options
| author | Michael Brown | 2021-03-11 16:54:26 +0100 |
|---|---|---|
| committer | Michael Brown | 2021-03-11 17:04:19 +0100 |
| commit | 1192edf394aaebde666c6aafda1c8b782b08a845 (patch) | |
| tree | 01a7c2eafaed69bf97feca388262c3fb903aa6f6 /src/interface/linux/linux_sysfs.c | |
| parent | [linux] Fail at link time if building slirp.linux without libslirp (diff) | |
| download | ipxe-1192edf394aaebde666c6aafda1c8b782b08a845.tar.gz ipxe-1192edf394aaebde666c6aafda1c8b782b08a845.tar.xz ipxe-1192edf394aaebde666c6aafda1c8b782b08a845.zip | |
[dhcp] Handle DHCPNAK by returning to discovery state
Handle a DHCPNAK by returning to the discovery state to allow iPXE to
attempt to obtain a replacement IPv4 address.
Reuse the existing logic for deferring discovery when the link is
blocked: this avoids hammering a misconfigured DHCP server with a
non-stop stream of requests and allows the DHCP process to eventually
time out and fail.
Originally-implemented-by: Blake Rouse <blake.rouse@canonical.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/interface/linux/linux_sysfs.c')
0 files changed, 0 insertions, 0 deletions
