]> git.ipfire.org Git - thirdparty/u-boot.git/commit
net: lwip: dhcp: make NTP servers usable by the sntp command
authorJerome Forissier <jerome.forissier@linaro.org>
Mon, 22 Sep 2025 09:35:42 +0000 (11:35 +0200)
committerJerome Forissier <jerome.forissier@linaro.org>
Tue, 30 Sep 2025 10:01:36 +0000 (12:01 +0200)
commit57a623230eaadc836c548a1e7effae34ec11eb0f
treeba8c3cf51263dd55e49dc554b90e81e13294fbd0
parent4462ab9a0b559a45c2b3e2dfb3912303e3449c9b
net: lwip: dhcp: make NTP servers usable by the sntp command

When both CMD_DHCP and CMD_SNTP are enabled, one would expect the NTP
servers received by DHCP to be used by the sntp command by default. Fix
dhcp_loop() so that it is indeed the case.

Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
Reported-by: Michal Simek <michal.simek@amd.com>
net/lwip/dhcp.c