commit | 123d90095b9a06c11c4c838c12fc3b9ada5bd57a | [log] [tgz] |
---|---|---|
author | Sean Anderson <seanga2@gmail.com> | Sat Oct 14 16:47:53 2023 -0400 |
committer | Tom Rini <trini@konsulko.com> | Tue Oct 17 20:50:52 2023 -0400 |
tree | a57e7e21af287fa87145d0424e96e3f23b1b7549 | |
parent | 19b8ec1a3c673648d57cd0f6f90383afecea362e [diff] |
net: bootp: Fall back to BOOTP from DHCP when unit testing If we sent a DHCP packet and get a BOOTP response from the server, we shouldn't try to send a DHCPREQUEST packet, since it won't be DHCPACKed. Transition straight to BIND. This is only enabled for UNIT_TEST to avoid bloat, since I suspect the number of BOOTP servers in the wild is vanishingly small. Signed-off-by: Sean Anderson <seanga2@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>