components: Use CONFIG_LWIP_IPV6 to strip IPv6 function in components

* Original commit: espressif/esp-idf@da58235a0e
This commit is contained in:
yuanjm authored and suren-gabrielyan-espressif committed 2022-05-27 17:44:23 +04:00
1 parent b114ed69de
commit 1623c0e729
4 files changed
+62 -14

No files matched your search

+2
View File
@@ -339,6 +339,7 @@ esp_err_t mdns_query_txt(const char * instance_name, const char * service_type,
*/
esp_err_t mdns_query_a(const char * host_name, uint32_t timeout, esp_ip4_addr_t * addr);
#if CONFIG_LWIP_IPV6
/**
* @brief Query mDNS for A record
*
@@ -353,6 +354,7 @@ esp_err_t mdns_query_a(const char * host_name, uint32_t timeout, esp_ip4_addr_t
* - ESP_ERR_INVALID_ARG parameter error
*/
esp_err_t mdns_query_aaaa(const char * host_name, uint32_t timeout, esp_ip6_addr_t * addr);
#endif
/**
* @brief System event handler