Skip to content

Commit

Permalink
fix mDNS
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDvP committed Mar 7, 2022
1 parent 6bbe268 commit f076829
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/web/WebStatusService.cpp
Expand Up @@ -165,6 +165,7 @@ void WebStatusService::webStatusService(AsyncWebServerRequest * request) {
// start the multicast UDP service so EMS-ESP is discoverable via .local
void WebStatusService::mDNS_start() {
#ifndef EMSESP_STANDALONE
MDNS.end();
if (!MDNS.begin(EMSESP::system_.hostname().c_str())) {
EMSESP::logger().warning(F("Failed to start mDNS responder service"));
return;
Expand Down

0 comments on commit f076829

Please sign in to comment.