From 5db32cce305d60560c9ef3fc4fa69227b2f330dd Mon Sep 17 00:00:00 2001 From: David Cermak Date: Wed, 18 Dec 2024 18:08:42 +0100 Subject: [PATCH] fix(asio): Make asio enable if_nametoindex to fix linking --- components/asio/Kconfig | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/components/asio/Kconfig b/components/asio/Kconfig index 8b46ae065..b8a30b7d3 100644 --- a/components/asio/Kconfig +++ b/components/asio/Kconfig @@ -1,6 +1,15 @@ menu "ESP-ASIO" visible if LWIP_IPV6 + config ASIO_IS_ENABLED + # Invisible option that is enabled if ASIO is added to the IDF components. + # This is used to "select" LWIP_NETIF_API option + # which enables if_indextoname() and if_nametoindex() functions + # (these are optionally used in asio) + bool + default "y" + select LWIP_NETIF_API + config ASIO_SSL_SUPPORT bool "Enable SSL/TLS support of ASIO" default n