aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/apt-panopticon-report-email.lua
diff options
context:
space:
mode:
Diffstat (limited to 'apt-panopticon-report-email.lua')
-rwxr-xr-xapt-panopticon-report-email.lua8
1 files changed, 6 insertions, 2 deletions
diff --git a/apt-panopticon-report-email.lua b/apt-panopticon-report-email.lua
index c102b81..53db16f 100755
--- a/apt-panopticon-report-email.lua
+++ b/apt-panopticon-report-email.lua
@@ -234,8 +234,10 @@ if nil == file then C("opening mirrors file - " .. e) else
234 results = collate(k, i, results) 234 results = collate(k, i, results)
235 end 235 end
236 end 236 end
237 local ftp = "[skip]"
237 local http = status(k, results, "http") 238 local http = status(k, results, "http")
238 local https = status(k, results, "https") 239 local https = status(k, results, "https")
240 local rsync = "[skip]"
239 local dns = "" 241 local dns = ""
240 local protocol = status(k, results, "Protocol") 242 local protocol = status(k, results, "Protocol")
241 local sanity = "[skip]" 243 local sanity = "[skip]"
@@ -275,8 +277,10 @@ if nil == file then C("opening mirrors file - " .. e) else
275 dns = " DNS-RR: " .. dns 277 dns = " DNS-RR: " .. dns
276 end 278 end
277 279
278 file:write( " http: " .. http .. " https: " .. https .. dns .. "\n" .. 280 file:write( " ftp: " .. ftp .. " http: " .. http .. " https: " .. https .." rsync: " .. rsync .. "\n" ..
279 " Protocol: " .. protocol .. " URL-sanity: " .. sanity .. " Integrity: " .. integrity .. " Updated: " .. updated .. "\n") 281 " " .. dns .. "\n" ..
282 " Protocol: " .. protocol .. " URL-sanity: " .. sanity .. " Integrity: " .. integrity .. "\n" ..
283 " Updated: " .. updated .. "\n")
280 end 284 end
281 file:write( "\n==== faulty mirrors: ====\n" .. faulty) 285 file:write( "\n==== faulty mirrors: ====\n" .. faulty)
282 file:write( "\n---- END MIRROR-STATUS ----\n\n" .. 286 file:write( "\n---- END MIRROR-STATUS ----\n\n" ..