lwip: dns: do not return CMD_RET_FAILURE on successful resolution
authorJerome Forissier <jerome.forissier@linaro.org>
Wed, 25 Jun 2025 13:19:14 +0000 (15:19 +0200)
committerJerome Forissier <jerome.forissier@linaro.org>
Tue, 8 Jul 2025 09:07:37 +0000 (11:07 +0200)
commitd3136d22a6a26b89c62774898154b16ee37385bd
tree69b98c8235b0d0522aac41f727c6ab69f3eb51b7
parentd3761a31ef094596361624b73d56479a2fe1e573
lwip: dns: do not return CMD_RET_FAILURE on successful resolution

The DNS loop checks for a non-zero IP address after DNS resolution, but
the address is in fact never copied into the context. Fix that.

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