mirror of
https://github.com/anklimov/lighthub
synced 2025-12-06 19:59:50 +03:00
mdns leak fix
This commit is contained in:
@@ -1080,7 +1080,9 @@ if (WiFi.status() == WL_CONNECTED) {
|
||||
|
||||
if(!mdns.begin(Ethernet.localIP(), mdnsName))
|
||||
errorSerial<<F("Error setting up MDNS responder!")<<endl;
|
||||
else infoSerial<<F("mDNS responder started.")<<endl;
|
||||
else infoSerial<<F("mDNS responder started.")<<endl;
|
||||
|
||||
mdns.removeAllServiceRecords();
|
||||
|
||||
char txtRecord[32] = "\x10mac=";
|
||||
SetBytes(sysConf.mac,6,txtRecord+5);
|
||||
|
||||
Reference in New Issue
Block a user