diff --git a/components/lwip/Kconfig b/components/lwip/Kconfig index 608bf2493e2..c45c70afefb 100644 --- a/components/lwip/Kconfig +++ b/components/lwip/Kconfig @@ -1204,9 +1204,13 @@ menu "LWIP" config LWIP_DNS_MAX_HOST_IP int "Maximum number of IP addresses per host" + range 1 8 default 1 help Maximum number of IP addresses that can be returned by DNS queries for a single host. + Allowed values are 1--8. In lwIP this is ``DNS_MAX_HOST_IP``. Multi-IP DNS APIs + require the caller's ``addr_cnt`` argument to satisfy 0 < addr_cnt <= DNS_MAX_HOST_IP; + otherwise they return ``ERR_ARG``. config LWIP_DNS_MAX_SERVERS int "Maximum number of DNS servers" diff --git a/components/lwip/lwip b/components/lwip/lwip index 20f8b0739c2..6233a15612e 160000 --- a/components/lwip/lwip +++ b/components/lwip/lwip @@ -1 +1 @@ -Subproject commit 20f8b0739c29c43e3030ea84ac3e0595c8c6d068 +Subproject commit 6233a15612ea601ee866145f3ca0c46b7c36858f