From d0fb993c3239e554ee9e1ea7d86cc59884a05941 Mon Sep 17 00:00:00 2001 From: Shreyas Zare Date: Sat, 21 Dec 2024 15:57:18 +0530 Subject: [PATCH] log.js: added support for response rtt. --- DnsServerCore/www/js/logs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DnsServerCore/www/js/logs.js b/DnsServerCore/www/js/logs.js index 26d763c6..cae16eac 100644 --- a/DnsServerCore/www/js/logs.js +++ b/DnsServerCore/www/js/logs.js @@ -334,7 +334,7 @@ function queryLogs(pageNumber) { moment(responseJSON.response.entries[i].timestamp).local().format("YYYY-MM-DD HH:mm:ss") + "" + responseJSON.response.entries[i].clientIpAddress + "" + responseJSON.response.entries[i].protocol + "" + - responseJSON.response.entries[i].responseType + "" + + responseJSON.response.entries[i].responseType + (responseJSON.response.entries[i].responseRtt == null ? "" : "
(" + responseJSON.response.entries[i].responseRtt.toFixed(2) + " ms)
") + "" + responseJSON.response.entries[i].rcode + "" + htmlEncode(responseJSON.response.entries[i].qname == "" ? "." : responseJSON.response.entries[i].qname) + "" + (responseJSON.response.entries[i].qtype == null ? "" : responseJSON.response.entries[i].qtype) + "" +