[PATCH 15/26] net: bootp: Fall back to BOOTP from DHCP when unit testing
Simon Glass
sjg at chromium.org
Thu Oct 12 05:41:09 CEST 2023
On Wed, 11 Oct 2023 at 18:56, Sean Anderson <seanga2 at gmail.com> wrote:
>
> 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 at gmail.com>
> ---
>
> net/bootp.c | 6 ++++++
> 1 file changed, 6 insertions(+)
>
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list