diff options
| author | onefang | 2022-01-28 05:58:19 +1000 |
|---|---|---|
| committer | onefang | 2022-01-28 05:58:19 +1000 |
| commit | 3af7bf49de68f745876fb26392e013c873a1a8f7 (patch) | |
| tree | 070451195e2e85d0656f647b0ff866dd0929ee5e /apt-panopticon.lua | |
| parent | Only do the RR check if the mirror agrees to be in the RR. (diff) | |
| download | apt-panopticon-3af7bf49de68f745876fb26392e013c873a1a8f7.zip apt-panopticon-3af7bf49de68f745876fb26392e013c873a1a8f7.tar.gz apt-panopticon-3af7bf49de68f745876fb26392e013c873a1a8f7.tar.bz2 apt-panopticon-3af7bf49de68f745876fb26392e013c873a1a8f7.tar.xz | |
Include DNSRR: maybe in the DNSRR checks.
Diffstat (limited to 'apt-panopticon.lua')
| -rwxr-xr-x | apt-panopticon.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
| 195 | -- If this is the DNS-RR domain name, gather the IPs for the mirrors that mirror_list.txt says should be in it. | 195 | -- If this is the DNS-RR domain name, gather the IPs for the mirrors that mirror_list.txt says should be in it. |
| 196 | if host == APT.options.roundRobin.value then | 196 | if host == APT.options.roundRobin.value then |
| 197 | for k, m in pairs(APT.mirrors) do | 197 | for k, m in pairs(APT.mirrors) do |
| 198 | if "yes" == m.DNSRR then | 198 | if ("yes" == m.DNSRR) or ("maybe" == m.DNSRR) then |
| 199 | gatherIPs(m.FQDN) | 199 | gatherIPs(m.FQDN) |
| 200 | IP[host][m.FQDN] = IP[m.FQDN] | 200 | IP[host][m.FQDN] = IP[m.FQDN] |
| 201 | -- Strip them out so we don't test them twice. | 201 | -- Strip them out so we don't test them twice. |
