From 257ba3b969cb0ed03ccb7011d0990e5234e3a176 Mon Sep 17 00:00:00 2001 From: onefang Date: Tue, 5 Nov 2019 18:43:59 +1000 Subject: Make DNS report prettier. --- apt-panopticon-report-DNS.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/apt-panopticon-report-DNS.lua b/apt-panopticon-report-DNS.lua index 178659b..c571c3d 100755 --- a/apt-panopticon-report-DNS.lua +++ b/apt-panopticon-report-DNS.lua @@ -135,16 +135,16 @@ for k, v in pairs(mirrors) do mirrors[k].BaseURL = nil mirrors[k].Country = nil mirrors[k].Bandwidth = nil - m["\n" .. k .. " DNS entries"] = mirrors[k].IPs + m["\n" .. k .. " DNS entries -"] = mirrors[k].IPs end local file, e = io.open("results/Report-DNS.txt", "w+") if nil == file then C("opening mirrors file - " .. e) else - file:write("This DNS report lists each mirror, and the DNS entries for that mirror. \n" .. - "If a mirror has a CNAME, that CNAME is listed along with that CNAMEs DNS entries.\n" .. - "deb.devuan.org is the DNS round robin, which points to the mirrors that are part of the DNS-RR.\n" .. - "pkgmaster.devuan.org is the master mirror, all the others sync to it.\n") + file:write("This DNS report lists each mirror, and the DNS entries for that \nmirror. " .. + "If a mirror has a CNAME, that CNAME is listed along with that \nCNAMEs DNS entries. " .. + "deb.devuan.org is the DNS round robin, which points \nto the mirrors that are part of the DNS-RR. " .. + "pkgmaster.devuan.org is the \nmaster mirror, all the others sync to it. ") file:write(dumpTable(m, "", "")) file:close() end -- cgit v1.1