diff options
author | onefang | 2022-10-18 10:42:19 +1000 |
---|---|---|
committer | onefang | 2022-10-18 10:42:19 +1000 |
commit | e5d51a2cb305272c527b4b5a56a441700845ed21 (patch) | |
tree | c5ce5384120cdf779b5fbeb653efb475e29d4844 | |
parent | Work around broken DNS by trying again @9.9.9.11. (diff) | |
download | apt-panopticon-e5d51a2cb305272c527b4b5a56a441700845ed21.zip apt-panopticon-e5d51a2cb305272c527b4b5a56a441700845ed21.tar.gz apt-panopticon-e5d51a2cb305272c527b4b5a56a441700845ed21.tar.bz2 apt-panopticon-e5d51a2cb305272c527b4b5a56a441700845ed21.tar.xz |
Minor tweak to DNSRR output.
Diffstat (limited to '')
-rwxr-xr-x | apt-panopticon-report-email-web.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-panopticon-report-email-web.lua b/apt-panopticon-report-email-web.lua index 73fd0ac..2a13975 100755 --- a/apt-panopticon-report-email-web.lua +++ b/apt-panopticon-report-email-web.lua | |||
@@ -321,8 +321,8 @@ local makeTable = function(web, hosts) | |||
321 | week = '<td> ' .. percentUp .. '% up</td><td> ' .. percentUpdated .. '% updated</td>' | 321 | week = '<td> ' .. percentUp .. '% up</td><td> ' .. percentUpdated .. '% updated</td>' |
322 | -- if ('100.00' ~= percentUp) or ('100.00' ~= percentUpdated) then inRR = "<font color='red'>❌</font>" end | 322 | -- if ('100.00' ~= percentUp) or ('100.00' ~= percentUpdated) then inRR = "<font color='red'>❌</font>" end |
323 | end | 323 | end |
324 | if "yes" ~= hosts[k].DNSRR then inRR = " " end | ||
324 | if "maybe" == hosts[k].DNSRR then inRR = "<font color='red'>❓</font>" end | 325 | if "maybe" == hosts[k].DNSRR then inRR = "<font color='red'>❓</font>" end |
325 | if "no" == hosts[k].DNSRR then inRR = " " end | ||
326 | 326 | ||
327 | web:write("<td>" .. ftp .. " </td><td>" .. http .. " </td><td>" .. https .. " </td><td>" .. rsync .. " </td><td>" .. inRR .. " " .. dns .. | 327 | web:write("<td>" .. ftp .. " </td><td>" .. http .. " </td><td>" .. https .. " </td><td>" .. rsync .. " </td><td>" .. inRR .. " " .. dns .. |
328 | " </td><td>" .. protocol .. " </td><td>" .. redirects .. " </td><td>" .. sanity .. " </td><td>" .. integrity .. " </td>" .. '<td>' .. rate .. | 328 | " </td><td>" .. protocol .. " </td><td>" .. redirects .. " </td><td>" .. sanity .. " </td><td>" .. integrity .. " </td>" .. '<td>' .. rate .. |