Merge branch 'lwip/dns_stack_corruption_fix_v5.4' into 'release/v5.4'

docs(lwip): clarify DNS_MAX_HOST_IP range and addr_cnt in Kconfig (v5.4)

See merge request espressif/esp-idf!49194
This commit is contained in:
Jiang Jiang Jian
2026-08-06 11:50:28 +08:00

View File

@@ -1193,9 +1193,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"