From 3b2fc3f954d66472e2cc8f8f51de13ac450a445f Mon Sep 17 00:00:00 2001 From: onefang Date: Fri, 17 Jul 2020 03:00:29 +1000 Subject: Only print DNS-RR tick or cross if it's a DNS-RR candidate according to mirror_list.txt. --- apt-panopticon-report-email-web.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apt-panopticon-report-email-web.lua b/apt-panopticon-report-email-web.lua index 91a0efc..b8b487e 100755 --- a/apt-panopticon-report-email-web.lua +++ b/apt-panopticon-report-email-web.lua @@ -365,6 +365,7 @@ local makeIPlist = function(hosts) if f == nil then C("writing DNS-RR_good.txt file - " .. e) end end end + if "yes" ~= hosts[k].DNSRR then inRR = "" end local log = '[graphs]   ' if "" == log then n[l][i] = u else n[l][log .. inRR .. ' ' .. revDNS(hosts, k, i) .. ' ' .. lc] = u end end @@ -387,6 +388,7 @@ local makeIPlist = function(hosts) if f == nil then C("writing DNS-RR_good.txt file - " .. e) end end end + if "yes" ~= hosts[k].DNSRR then inRR = "" end local log = '[graphs]   ' if "" == log then n[l] = w else n[log .. inRR .. ' ' .. revDNS(hosts, k, l) .. ' ' .. lc] = w end end -- cgit v1.1