Skip to content

Commit

Permalink
fix(asio): Make asio enable if_nametoindex to fix linking
Browse files Browse the repository at this point in the history
  • Loading branch information
david-cermak committed Dec 18, 2024
1 parent 2e87a7a commit 48d2608
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions components/asio/Kconfig
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 48d2608

Please sign in to comment.