From 3af7bf49de68f745876fb26392e013c873a1a8f7 Mon Sep 17 00:00:00 2001 From: onefang Date: Fri, 28 Jan 2022 05:58:19 +1000 Subject: Include DNSRR: maybe in the DNSRR checks. --- apt-panopticon.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apt-panopticon.lua') diff --git a/apt-panopticon.lua b/apt-panopticon.lua index cf40ce4..83f119a 100755 --- a/apt-panopticon.lua +++ b/apt-panopticon.lua @@ -195,7 +195,7 @@ gatherIPs = function (host) -- If this is the DNS-RR domain name, gather the IPs for the mirrors that mirror_list.txt says should be in it. if host == APT.options.roundRobin.value then for k, m in pairs(APT.mirrors) do - if "yes" == m.DNSRR then + if ("yes" == m.DNSRR) or ("maybe" == m.DNSRR) then gatherIPs(m.FQDN) IP[host][m.FQDN] = IP[m.FQDN] -- Strip them out so we don't test them twice. -- cgit v1.1