This series fixes a minor issue with the lwIP dns command, print device
name from udevice in nfs command, changes to use ipaddr helper functions
instead of accessing the internal addr field.

It also ensure the DHCP siaddr field is saved to the 'tftpserverip' env
var so that correct next server is used for bootstrap.

Finally it make the nfs command behave in similar way as tftp in that
it will prefer to use 'nfsserverip' env var before falling back to use
'serverip' env var.

Jonas Karlman (6):
  net: lwip: dns: Fix print of resolved IP address
  net: lwip: nfs: Print device name based on current udevice
  net: lwip: dns: Call env_set() from dns loop instead of found callback
  net: lwip: Use ipaddr helpers
  net: lwip: dhcp: Save DHCP siaddr field to tftpserverip env var
  net: lwip: nfs: Prefer nfsserverip over serverip when set

 cmd/lwip/ping.c |  2 +-
 net/lwip/dhcp.c |  7 +++++--
 net/lwip/dns.c  | 24 +++++++++---------------
 net/lwip/nfs.c  | 13 ++++++++-----
 net/lwip/tftp.c |  2 +-
 5 files changed, 24 insertions(+), 24 deletions(-)

-- 
2.52.0

Reply via email to