diff --git a/src/src/ESPEasyCore/ESPEasyWifi_ProcessEvent.cpp b/src/src/ESPEasyCore/ESPEasyWifi_ProcessEvent.cpp index 1c165e7356..5e7ef696df 100644 --- a/src/src/ESPEasyCore/ESPEasyWifi_ProcessEvent.cpp +++ b/src/src/ESPEasyCore/ESPEasyWifi_ProcessEvent.cpp @@ -232,8 +232,14 @@ void processGotIP() { IPAddress ip = NetworkLocalIP(); - if (!useStaticIP() && !ip.isSet()) { - return; + if (!useStaticIP()) { + #ifdef ESP8266 + if (!ip.isSet()) { + #else + if (ip[0] == 0 && ip[1] == 0 && ip[2] == 0 && ip[3] == 0) { + #endif + return; + } } const IPAddress gw = NetworkGatewayIP(); const IPAddress subnet = NetworkSubnetMask();