Disable startMDNS() in favor of mDNS.js

Without this the esp8266 uses the mdns port 5353 and silently ignores
any message to be received mDNS.js.
This commit is contained in:
Standa Opichal 2017-08-25 23:34:35 +02:00
parent f3378c4a8d
commit aa75f14ebb

View File

@ -1066,7 +1066,10 @@ void jswrap_wifi_setHostname(
static bool mdns_started;
// FIXME: To be removed in favor of using mDNS.js module instead
void startMDNS(char *hostname) {
return; // FIXME: debug
if (mdns_started) stopMDNS();
// find our IP address