Skip to content

Commit 3a9afdf

Browse files
authored
Bugfix reload config
Fix crash after changes do webinterface config.
1 parent c960b7b commit 3a9afdf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arduino-modbus-rtu-tcp-gateway/05-pages.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ void sendPage(EthernetClient &client, byte reqPage)
4343
if (reqPage == 1 || reqPage == 0xFF) page.print(F(" http-equiv=refresh content=5"));
4444
if (reqPage == 0xFF) {
4545
page.print(F(";url=http://"));
46-
page.print(localConfig.ip);
46+
page.print((IPAddress)localConfig.ip);
4747
page.print(F(":"));
4848
page.print(localConfig.webPort);
4949
}

0 commit comments

Comments
 (0)