Skip to content

Commit 760cb5b

Browse files
John DoeJohn Doe
John Doe
authored and
John Doe
committed
no need for the IP
1 parent 1d51c35 commit 760cb5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hardware/esp8266com/esp8266/libraries/ESP8266mDNS/examples/mDNS_Web_Server/mDNS_Web_Server.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ void setup(void)
5050
// the fully-qualified domain name is "esp8266.local"
5151
// - second argument is the IP address to advertise
5252
// we send our IP address on the WiFi network
53-
if (!MDNS.begin("esp8266", WiFi.localIP())) {
53+
if (!MDNS.begin("esp8266")) {
5454
Serial.println("Error setting up MDNS responder!");
5555
while(1) {
5656
delay(1000);

0 commit comments

Comments
 (0)