diff options
Diffstat (limited to '')
-rwxr-xr-x | mirror-checker.lua | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mirror-checker.lua b/mirror-checker.lua index c704bf5..e3c6120 100755 --- a/mirror-checker.lua +++ b/mirror-checker.lua | |||
@@ -318,8 +318,10 @@ checkHost = function (orig, host, path, ip, file) | |||
318 | checkFiles(po.host, ip, path) | 318 | checkFiles(po.host, ip, path) |
319 | end | 319 | end |
320 | else | 320 | else |
321 | if orig == host then D("checkHost " .. orig .. "" .. file) else D("checkHost " .. orig .. " -> " .. host) end | 321 | if orig == host then |
322 | -- TODO - use checkFiles() here ^^^ on the original domain name, coz that's not getting caught yet. I think. | 322 | D("checkHost " .. orig .. "" .. file) |
323 | checkFiles(orig, orig, path); | ||
324 | else D("checkHost " .. orig .. " -> " .. host) end | ||
323 | gatherIPs(ph.host) | 325 | gatherIPs(ph.host) |
324 | for k, v in pairs(IP[ph.host]) do | 326 | for k, v in pairs(IP[ph.host]) do |
325 | D(" DNS record " .. v .. " " .. ph.host .. " -> " .. k) | 327 | D(" DNS record " .. v .. " " .. ph.host .. " -> " .. k) |