Skip to content

Commit

Permalink
fix(mdns): define CONFIG_LWIP_IPV4 in mdns_private.h if it is not def…
Browse files Browse the repository at this point in the history
…ined for IDF v5.0
  • Loading branch information
wqx6 authored and suren-gabrielyan-espressif committed Nov 28, 2023
1 parent 0641701 commit 67370e7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ static void query_mdns_host(const char *host_name)
struct esp_ip4_addr addr;
addr.addr = 0;

esp_err_t err = mdns_query_a(host_name, 2000, &addr);
esp_err_t err = mdns_query_a(host_name, 1000, &addr);
if (err) {
if (err == ESP_ERR_NOT_FOUND) {
ESP_LOGW(TAG, "%s: Host was not found!", esp_err_to_name(err));
Expand Down

0 comments on commit 67370e7

Please sign in to comment.