mirror of
https://github.com/anklimov/lighthub
synced 2025-12-06 11:49:51 +03:00
mdns leak fix
This commit is contained in:
@@ -1082,6 +1082,8 @@ if (WiFi.status() == WL_CONNECTED) {
|
||||
errorSerial<<F("Error setting up MDNS responder!")<<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