diff --git a/components/wifi/esp8266-driver/ESP8266Interface.cpp b/components/wifi/esp8266-driver/ESP8266Interface.cpp index ed02a17699..b19a5c04a6 100644 --- a/components/wifi/esp8266-driver/ESP8266Interface.cpp +++ b/components/wifi/esp8266-driver/ESP8266Interface.cpp @@ -241,7 +241,7 @@ const char *ESP8266Interface::get_ip_address() } const char *ip_buff = _esp.ip_addr(); - if (!ip_buff || std::strcmp(ip_buff, "0.0.0.0") == 0) { + if (!ip_buff || strcmp(ip_buff, "0.0.0.0") == 0) { return NULL; }