From df217cf77fce1b1afc54f7048443c2227d27c9b7 Mon Sep 17 00:00:00 2001 From: onefang Date: Thu, 27 Jan 2022 07:16:50 +1000 Subject: Only do the RR check if the mirror agrees to be in the RR. --- apt-panopticon-report-email-web.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apt-panopticon-report-email-web.lua b/apt-panopticon-report-email-web.lua index 622b0be..071771b 100755 --- a/apt-panopticon-report-email-web.lua +++ b/apt-panopticon-report-email-web.lua @@ -370,7 +370,7 @@ local makeIPlist = function(hosts) if (APT.testing("IPv6") and ("AAAA" == u)) or ("A" == u) then local inRR = "" local lc = logCount(k, i) - if checkRR then + if checkRR and ('yes' == hosts[k].DNSRR) then -- If there where errors, warnings, or timeouts, then it'll have that wrapped in font tags. inRR = "" if nil ~= lc:find("