Skip to content

Commit

Permalink
Fix native Ethernet and Ethernet integration issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
mobizt committed Sep 15, 2023
1 parent 3dcdd68 commit 42a66b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/FB_TCP_Client.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 42a66b8

Please sign in to comment.