From 41bd12456a02e005b973d7585edae1e6bd579432 Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 15 Sep 2023 10:33:32 +0700 Subject: [PATCH] Fix native Ethernet and Ethernet integration issues. --- src/client/FB_TCP_Client.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/FB_TCP_Client.h b/src/client/FB_TCP_Client.h index dfb4e65..b9c5b8e 100644 --- a/src/client/FB_TCP_Client.h +++ b/src/client/FB_TCP_Client.h @@ -255,7 +255,7 @@ class Firebase_TCP_Client : public Client #if defined(FIREBASE_ETH_IS_AVAILABLE) #if defined(ESP32) - if (strcmp(ETH.localIP().toString().c_str(), (const char *)MBSTRING_FLASH_MCR("0.0.0.0")) != 0) + if (validIP(ETH.localIP())) { ETH.linkUp(); ret = true;