aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/apt-panopticon.lua
diff options
context:
space:
mode:
Diffstat (limited to 'apt-panopticon.lua')
-rwxr-xr-xapt-panopticon.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-panopticon.lua b/apt-panopticon.lua
index 482a2ac..7e3b4ef 100755
--- a/apt-panopticon.lua
+++ b/apt-panopticon.lua
@@ -590,7 +590,7 @@ local validateURL = function(m)
590 local p = url.parse("http://" .. m.BaseURL) 590 local p = url.parse("http://" .. m.BaseURL)
591 if nil == p.path then p.path = '' end 591 if nil == p.path then p.path = '' end
592 if nil ~= p.port then p.authority = authority .. ':' .. p.port end 592 if nil ~= p.port then p.authority = authority .. ':' .. p.port end
593 if nil == m.FDQN then W("Something wrong in FDQN from mirror_list.txt! nil", "", "", p.authority) else 593 if nil == m.FQDN then W("Something wrong in FQDN from mirror_list.txt! nil", "", "", p.authority) else
594 if m.FQDN ~= p.authority then W("Something wrong in FDQN from mirror_list.txt! " .. m.FDQN, "", "", p.authority) end 594 if m.FQDN ~= p.authority then W("Something wrong in FDQN from mirror_list.txt! " .. m.FDQN, "", "", p.authority) end
595 end 595 end
596 if nil == m.BaseURL then W("Something wrong in BaseURL from mirror_list.txt! nil", "", "", p.authority) else 596 if nil == m.BaseURL then W("Something wrong in BaseURL from mirror_list.txt! nil", "", "", p.authority) else
@@ -1183,7 +1183,7 @@ else
1183 if (hst:find('_') == nil) and (nil == APT.mirrors[hst]) then 1183 if (hst:find('_') == nil) and (nil == APT.mirrors[hst]) then
1184 local ips = loadfile(l)().IPs 1184 local ips = loadfile(l)().IPs
1185 if nil ~= ips then 1185 if nil ~= ips then
1186 debians[hst] = {Country = '', FDQN = hst, Active = 'yes', Rate = '', BaseURL = hst, Protocols = {http = true, https = true}, Bandwidth = '', IPs = ips} 1186 debians[hst] = {Country = '', FQDN = hst, Active = 'yes', Rate = '', BaseURL = hst, Protocols = {http = true, https = true}, Bandwidth = '', IPs = ips}
1187 local baseFiles = {} 1187 local baseFiles = {}
1188 local IPfiles = {} 1188 local IPfiles = {}
1189 for i, a in pairs(ips) do 1189 for i, a in pairs(ips) do