diff --git a/src/HTTPserver.cpp b/src/HTTPserver.cpp index 4b6c45ddb3..cc5b335f73 100644 --- a/src/HTTPserver.cpp +++ b/src/HTTPserver.cpp @@ -1314,7 +1314,7 @@ static int handle_lua_request(struct mg_connection *conn) { ntop->get_HTTPserver()->get_docs_dir(), request_info->uri); if(stat(path, &s) == 0) { - ntop->setLastModifiedStaticFileEpoch((u_int32_t)s.st_mtimespec.tv_sec); + ntop->setLastModifiedStaticFileEpoch((u_int32_t)s.st_mtim.tv_sec); #if 0 ntop->getTrace()->traceEvent(TRACE_NORMAL, "[HTTP] Serving file %s [%u]",