From b15b6da64a56536dcf859cc430424987cff125b6 Mon Sep 17 00:00:00 2001 From: onefang Date: Thu, 18 Nov 2021 22:12:38 +1000 Subject: FDQN -> FQDN How did this last so long? --- apt-panopticon.lua | 4 ++-- 1 file 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) local p = url.parse("http://" .. m.BaseURL) if nil == p.path then p.path = '' end if nil ~= p.port then p.authority = authority .. ':' .. p.port end - if nil == m.FDQN then W("Something wrong in FDQN from mirror_list.txt! nil", "", "", p.authority) else + if nil == m.FQDN then W("Something wrong in FQDN from mirror_list.txt! nil", "", "", p.authority) else if m.FQDN ~= p.authority then W("Something wrong in FDQN from mirror_list.txt! " .. m.FDQN, "", "", p.authority) end end if nil == m.BaseURL then W("Something wrong in BaseURL from mirror_list.txt! nil", "", "", p.authority) else @@ -1183,7 +1183,7 @@ else if (hst:find('_') == nil) and (nil == APT.mirrors[hst]) then local ips = loadfile(l)().IPs if nil ~= ips then - debians[hst] = {Country = '', FDQN = hst, Active = 'yes', Rate = '', BaseURL = hst, Protocols = {http = true, https = true}, Bandwidth = '', IPs = ips} + debians[hst] = {Country = '', FQDN = hst, Active = 'yes', Rate = '', BaseURL = hst, Protocols = {http = true, https = true}, Bandwidth = '', IPs = ips} local baseFiles = {} local IPfiles = {} for i, a in pairs(ips) do -- cgit v1.1