diff options
Diffstat (limited to '')
-rwxr-xr-x | apt-panopticon-report-web.lua | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/apt-panopticon-report-web.lua b/apt-panopticon-report-web.lua index 78e631f..5fd26fa 100755 --- a/apt-panopticon-report-web.lua +++ b/apt-panopticon-report-web.lua | |||
@@ -258,10 +258,13 @@ if nil == file then C("opening mirrors file - " .. e) else | |||
258 | if type(w) == "table" then | 258 | if type(w) == "table" then |
259 | for i, u in pairs(w) do | 259 | for i, u in pairs(w) do |
260 | if nil ~= mirrors["deb.devuan.org"].IPs["deb.roundr.devuan.org"][i] then | 260 | if nil ~= mirrors["deb.devuan.org"].IPs["deb.roundr.devuan.org"][i] then |
261 | local log = logCount("deb.devuan.org", l) | 261 | local log = logCount("deb.devuan.org", i) |
262 | if "" ~= log then | 262 | if "" ~= log then |
263 | if "" == dns then dns = " " else dns = dns .. " " end | 263 | if "" == dns then dns = " " else dns = dns .. " " end |
264 | dns = dns .. logCount("deb.devuan.org", i) | 264 | dns = dns .. logCount("deb.devuan.org", i) |
265 | else | ||
266 | if "" == dns then dns = " " else dns = dns .. " " end | ||
267 | dns = dns .. "<font color='red'><b>" .. i .. "</b></font>" | ||
265 | end | 268 | end |
266 | end | 269 | end |
267 | end | 270 | end |
@@ -271,6 +274,9 @@ if nil == file then C("opening mirrors file - " .. e) else | |||
271 | if "" ~= log then | 274 | if "" ~= log then |
272 | if "" == dns then dns = " " else dns = dns .. " " end | 275 | if "" == dns then dns = " " else dns = dns .. " " end |
273 | dns = dns .. log | 276 | dns = dns .. log |
277 | else | ||
278 | if "" == dns then dns = " " else dns = dns .. " " end | ||
279 | dns = dns .. "<font color='red'><b>" .. l .. "</b></font>" | ||
274 | end | 280 | end |
275 | end | 281 | end |
276 | end | 282 | end |