Skip to content

Commit

Permalink
Display full ip
Browse files Browse the repository at this point in the history
  • Loading branch information
netmindz committed Nov 11, 2023
1 parent 5e89fe6 commit 14f89cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Sys/SysModNetwork.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ void SysModNetwork::handleConnection() {
initAP();
}
} else if (!interfacesInited) { //newly connected
mdl->setValueP("nwstatus", "Connected %d", WiFi.localIP()[3]);
mdl->setValueP("nwstatus", "Connected %d.%d.%d.%d", WiFi.localIP()[0], WiFi.localIP()[1], WiFi.localIP()[2], WiFi.localIP()[3]);

interfacesInited = true;

Expand Down

0 comments on commit 14f89cd

Please sign in to comment.