]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: lwip: dhcp: support arguments for TFTP file download
authorJerome Forissier <jerome.forissier@linaro.org>
Thu, 14 Nov 2024 17:20:07 +0000 (18:20 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 22 Nov 2024 20:51:26 +0000 (14:51 -0600)
commit13e13f58671305ac20a889d7271d85cb7e27af78
tree0184d09bb1bab7859951e2e6a9dd8178bec4aac6
parent2cde2f4a0073ac1e4a528a1fab40e3d6c1f4bf29
net: lwip: dhcp: support arguments for TFTP file download

The dhcp command is supposed to have the following syntax as per
"help dhcp":

  dhcp [loadAddress] [[hostIPaddr:]bootfilename]

In other words, any arguments should be passed to an implicit
tftpboot command after the DHCP exchange has occurred.

Add the missing code to the lwIP version of do_dhcp().

Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
net/lwip/dhcp.c