From d46c805c5ce50156a3868c2440f02a66e8458562 Mon Sep 17 00:00:00 2001 From: thiti yamsung Date: Thu, 1 Sep 2022 18:24:45 +0700 Subject: [PATCH] fix: unable to reconnect after wifi lost connection --- src/arduino_homekit_server.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/arduino_homekit_server.cpp b/src/arduino_homekit_server.cpp index 7121914..0807288 100644 --- a/src/arduino_homekit_server.cpp +++ b/src/arduino_homekit_server.cpp @@ -3162,7 +3162,6 @@ void homekit_mdns_init(homekit_server_t *server) { } if (homekit_mdns_started) { - MDNS.close(); MDNS.begin(name->value.string_value, staIP); INFO("MDNS restart: %s, IP: %s", name->value.string_value, staIP.toString().c_str()); MDNS.announce();