diff options
author | onefang | 2020-07-17 03:00:29 +1000 |
---|---|---|
committer | onefang | 2020-07-17 03:00:29 +1000 |
commit | 3b2fc3f954d66472e2cc8f8f51de13ac450a445f (patch) | |
tree | e3c7443dcc3426c86ae7cdba1cc154a3d1523b30 | |
parent | Check for nil FDQN and BaseURL. (diff) | |
download | apt-panopticon-3b2fc3f954d66472e2cc8f8f51de13ac450a445f.zip apt-panopticon-3b2fc3f954d66472e2cc8f8f51de13ac450a445f.tar.gz apt-panopticon-3b2fc3f954d66472e2cc8f8f51de13ac450a445f.tar.bz2 apt-panopticon-3b2fc3f954d66472e2cc8f8f51de13ac450a445f.tar.xz |
Only print DNS-RR tick or cross if it's a DNS-RR candidate according to mirror_list.txt.
-rwxr-xr-x | apt-panopticon-report-email-web.lua | 2 |
1 files changed, 2 insertions, 0 deletions
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) | |||
365 | if f == nil then C("writing DNS-RR_good.txt file - " .. e) end | 365 | if f == nil then C("writing DNS-RR_good.txt file - " .. e) end |
366 | end | 366 | end |
367 | end | 367 | end |
368 | if "yes" ~= hosts[k].DNSRR then inRR = "" end | ||
368 | local log = '[<a href="' .. adr .. k .. '_' .. i .. '">graphs</a>] ' | 369 | local log = '[<a href="' .. adr .. k .. '_' .. i .. '">graphs</a>] ' |
369 | if "" == log then n[l][i] = u else n[l][log .. inRR .. ' ' .. revDNS(hosts, k, i) .. ' ' .. lc] = u end | 370 | if "" == log then n[l][i] = u else n[l][log .. inRR .. ' ' .. revDNS(hosts, k, i) .. ' ' .. lc] = u end |
370 | end | 371 | end |
@@ -387,6 +388,7 @@ local makeIPlist = function(hosts) | |||
387 | if f == nil then C("writing DNS-RR_good.txt file - " .. e) end | 388 | if f == nil then C("writing DNS-RR_good.txt file - " .. e) end |
388 | end | 389 | end |
389 | end | 390 | end |
391 | if "yes" ~= hosts[k].DNSRR then inRR = "" end | ||
390 | local log = '[<a href="' .. adr .. k .. '_' .. l .. '">graphs</a>] ' | 392 | local log = '[<a href="' .. adr .. k .. '_' .. l .. '">graphs</a>] ' |
391 | if "" == log then n[l] = w else n[log .. inRR .. ' ' .. revDNS(hosts, k, l) .. ' ' .. lc] = w end | 393 | if "" == log then n[l] = w else n[log .. inRR .. ' ' .. revDNS(hosts, k, l) .. ' ' .. lc] = w end |
392 | end | 394 | end |