From b074d94ef43951258177582601e4b7464fbf9d6c Mon Sep 17 00:00:00 2001 From: araczkowski Date: Wed, 16 Jan 2019 17:53:23 +0100 Subject: [PATCH] #4938 MDNS.update(); --- sonoff/support_wifi.ino | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sonoff/support_wifi.ino b/sonoff/support_wifi.ino index 0971d104a..de2cb9b9c 100644 --- a/sonoff/support_wifi.ino +++ b/sonoff/support_wifi.ino @@ -350,6 +350,10 @@ void WifiCheckIp(void) Settings.ip_address[3] = (uint32_t)WiFi.dnsIP(); } wifi_status = WL_CONNECTED; + if (2 == mdns_begun) { + MDNS.update(); + AddLog_P(LOG_LEVEL_DEBUG_MORE, D_LOG_MDNS, "MDNS.update"); + } } else { WifiSetState(0); uint8_t wifi_config_tool = Settings.sta_config;