]> git.ipfire.org Git - thirdparty/u-boot.git/commit
net: lwip: nfs: Prefer nfsserverip over serverip when set
authorJonas Karlman <jonas@kwiboo.se>
Sat, 17 Jan 2026 00:24:42 +0000 (00:24 +0000)
committerJerome Forissier <jerome.forissier@arm.com>
Wed, 4 Feb 2026 08:04:36 +0000 (09:04 +0100)
commit3349e3aa1b0da2d5e5200d4417cf4d57ff5d5e66
treebce442c07c699e3cdde21dbb68a54a09e57790d3
parentbd1f40a4028998405cf4d29ad8ba407c6771b76a
net: lwip: nfs: Prefer nfsserverip over serverip when set

Prefer use of a 'nfsserverip' env var before falling back to 'serverip'
when using the nfs command. Similar to how the 'tftpserverip' env var
is preferred over 'serverip' by the tftp command.

This also updates the error message to closer match the error message
used by the lwIP tftp command when a server ip is not set.

Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Jerome Forissier <jerome.forissier@arm.com>
net/lwip/nfs.c