diff options
-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 |