mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-11 22:51:56 +00:00
The LwM2M implementation for DNS resolving has checks which configure hints based on whether IPv4 or IPv6 are enabled. Neither of them need enabled if using NET_SOCKETS_OFFLOAD, which then causes an error to be returned to due to "hints.ai_family" not being set. Also the offload API need to know when to free the allocated "struct addrinfo" instead of calling free() generically, thus let's use the freeaddrinfo() API for sockets which will call into the offload API if needed. Fixes: https://github.com/zephyrproject-rtos/zephyr/issues/18765 Signed-off-by: Jun Qing Zou <jun.qing.zou@nordicsemi.no> |
||
---|---|---|
.. | ||
ip | ||
l2 | ||
lib | ||
buf.c | ||
CMakeLists.txt | ||
hostname.c | ||
Kconfig | ||
Kconfig.hostname | ||
Kconfig.template.log_config.default.net | ||
Kconfig.template.log_config.net |