Skip to content

Commit

Permalink
Log your ip
Browse files Browse the repository at this point in the history
  • Loading branch information
netmindz committed Mar 6, 2024
1 parent 73d6b44 commit 05b9056
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Sys/SysModNetwork.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ void SysModNetwork::handleConnection() {
}
} else if (!interfacesInited) { //newly connected
mdl->setUIValueV("nwstatus", "Connected %d.%d.%d.%d", WiFi.localIP()[0], WiFi.localIP()[1], WiFi.localIP()[2], WiFi.localIP()[3]);
USER_PRINTF("Connected %s\n", WiFi.localIP().toString().c_str());

interfacesInited = true;

Expand Down

0 comments on commit 05b9056

Please sign in to comment.