diff options
author | onefang | 2022-01-27 07:16:50 +1000 |
---|---|---|
committer | onefang | 2022-01-27 07:16:50 +1000 |
commit | df217cf77fce1b1afc54f7048443c2227d27c9b7 (patch) | |
tree | 1a610090f76761ce1d43c1308b3a5af5a3c39b78 | |
parent | Update apt-transport-https version. (diff) | |
download | apt-panopticon-df217cf77fce1b1afc54f7048443c2227d27c9b7.zip apt-panopticon-df217cf77fce1b1afc54f7048443c2227d27c9b7.tar.gz apt-panopticon-df217cf77fce1b1afc54f7048443c2227d27c9b7.tar.bz2 apt-panopticon-df217cf77fce1b1afc54f7048443c2227d27c9b7.tar.xz |
Only do the RR check if the mirror agrees to be in the RR.
-rwxr-xr-x | apt-panopticon-report-email-web.lua | 4 |
1 files 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) | |||
370 | if (APT.testing("IPv6") and ("AAAA" == u)) or ("A" == u) then | 370 | if (APT.testing("IPv6") and ("AAAA" == u)) or ("A" == u) then |
371 | local inRR = "" | 371 | local inRR = "" |
372 | local lc = logCount(k, i) | 372 | local lc = logCount(k, i) |
373 | if checkRR then | 373 | if checkRR and ('yes' == hosts[k].DNSRR) then |
374 | -- If there where errors, warnings, or timeouts, then it'll have that wrapped in font tags. | 374 | -- If there where errors, warnings, or timeouts, then it'll have that wrapped in font tags. |
375 | inRR = "<font color='green'><b>✅</b></font>" | 375 | inRR = "<font color='green'><b>✅</b></font>" |
376 | if nil ~= lc:find("<font color='") then | 376 | if nil ~= lc:find("<font color='") then |
@@ -394,7 +394,7 @@ local makeIPlist = function(hosts) | |||
394 | if (APT.testing("IPv6") and ("AAAA" == w)) or ("A" == w) then | 394 | if (APT.testing("IPv6") and ("AAAA" == w)) or ("A" == w) then |
395 | local inRR = "" | 395 | local inRR = "" |
396 | local lc = logCount(k, l) | 396 | local lc = logCount(k, l) |
397 | if checkRR then | 397 | if checkRR and ('yes' == hosts[k].DNSRR) then |
398 | -- If there where errors, warnings, or timeouts, then it'll have that wrapped in font tags. | 398 | -- If there where errors, warnings, or timeouts, then it'll have that wrapped in font tags. |
399 | inRR = "<font color='green'><b>✅</b></font>" | 399 | inRR = "<font color='green'><b>✅</b></font>" |
400 | if nil ~= lc:find("<font color='") then | 400 | if nil ~= lc:find("<font color='") then |