mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-12 01:53:07 +03:00
Allow mDNS on any interface
This commit is contained in:
@ -149,7 +149,7 @@ bool MDNSResponder::begin(const char* domain, IPAddress addr, uint32_t ttlSecond
|
||||
|
||||
// Open the MDNS socket if it isn't already open.
|
||||
if (!_mdnsConn) {
|
||||
if (!_mdnsConn.beginMulticast(IPAddress(224, 0, 0, 251), 5353)) {
|
||||
if (!_mdnsConn.beginMulticast(addr, IPAddress(224, 0, 0, 251), 5353)) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user