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>
1 file changed