docs(lwip): document LWIP_DNS_MAX_HOST_IP range and addr_cnt usage

The DNS buffer overflow fix (esp-lwip@6233a1561) is already included in
release/v5.5 via af7543d00a. This commit only adds Kconfig documentation
for the DNS_MAX_HOST_IP range and addr_cnt API contract.
This commit is contained in:
Abhik Roy
2026-07-31 21:10:07 +10:00
parent 3844dee2e7
commit 6e984611c9
+4
View File
@@ -1185,9 +1185,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"