From 14f89cdca40c87440833d51af32f94cd8f0022db Mon Sep 17 00:00:00 2001 From: Will Tatam Date: Sat, 11 Nov 2023 12:18:25 +0000 Subject: [PATCH] Display full ip --- src/Sys/SysModNetwork.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Sys/SysModNetwork.cpp b/src/Sys/SysModNetwork.cpp index d0b20095..9802f0d6 100644 --- a/src/Sys/SysModNetwork.cpp +++ b/src/Sys/SysModNetwork.cpp @@ -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;