Skip to content

Commit 41bd124

Browse files
committed
Fix native Ethernet and Ethernet integration issues.
1 parent 8450e0c commit 41bd124

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client/FB_TCP_Client.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ class Firebase_TCP_Client : public Client
255255
#if defined(FIREBASE_ETH_IS_AVAILABLE)
256256

257257
#if defined(ESP32)
258-
if (strcmp(ETH.localIP().toString().c_str(), (const char *)MBSTRING_FLASH_MCR("0.0.0.0")) != 0)
258+
if (validIP(ETH.localIP()))
259259
{
260260
ETH.linkUp();
261261
ret = true;

0 commit comments

Comments
 (0)