diff --git a/src/httpserver/http_fns.c b/src/httpserver/http_fns.c index c1342481d..900bc3735 100644 --- a/src/httpserver/http_fns.c +++ b/src/httpserver/http_fns.c @@ -766,7 +766,7 @@ int http_fn_index(http_request_t* request) { sizeof(g_cfg), g_cfg.changeCounter, g_cfg.otaCounter, Main_GetLastRebootBootFailures()); inputName = CFG_GetPingHost(); - if (inputName && *inputName) { + if (inputName && *inputName && CFG_GetPingDisconnectedSecondsToRestart()) { hprintf255(request, "