aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authoronefang2019-11-13 21:39:18 +1000
committeronefang2019-11-13 21:39:18 +1000
commit356ff78e35ea5e3f8cbe65cfdecd6803b8e4e33b (patch)
tree3943d7b1bb4bb77a2f427e0b07b3a046886a3b66
parentClean up the reports, and merge the DNS report into the web report. (diff)
downloadapt-panopticon-356ff78e35ea5e3f8cbe65cfdecd6803b8e4e33b.zip
apt-panopticon-356ff78e35ea5e3f8cbe65cfdecd6803b8e4e33b.tar.gz
apt-panopticon-356ff78e35ea5e3f8cbe65cfdecd6803b8e4e33b.tar.bz2
apt-panopticon-356ff78e35ea5e3f8cbe65cfdecd6803b8e4e33b.tar.xz
Actually show the IPv6 logs.
Didn't need to tave [IPv6] in the log file names after all, or anywhere else.
-rwxr-xr-xapt-panopticon.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-panopticon.lua b/apt-panopticon.lua
index 6b49398..23ea2f0 100755
--- a/apt-panopticon.lua
+++ b/apt-panopticon.lua
@@ -477,14 +477,14 @@ checkHost = function (orig, host, path, ip, file)
477 if v1 == "A" then 477 if v1 == "A" then
478 if testing("IPv4") then fork("ionice -c3 ./apt-panopticon.lua " .. sendArgs .. " " .. orig .. path .. " " .. k1 .. " " .. file) end 478 if testing("IPv4") then fork("ionice -c3 ./apt-panopticon.lua " .. sendArgs .. " " .. orig .. path .. " " .. k1 .. " " .. file) end
479 elseif v1 == "AAAA" then 479 elseif v1 == "AAAA" then
480 if testing("IPv6") then fork("ionice -c3 ./apt-panopticon.lua " .. sendArgs .. " " .. orig .. path .. " [" .. k1 .. "] " .. file) end 480 if testing("IPv6") then fork("ionice -c3 ./apt-panopticon.lua " .. sendArgs .. " " .. orig .. path .. " " .. k1 .. " " .. file) end
481 end 481 end
482 end 482 end
483 else 483 else
484 if v == "A" then 484 if v == "A" then
485 if testing("IPv4") then fork("ionice -c3 ./apt-panopticon.lua " .. sendArgs .. " " .. orig .. path .. " " .. k .. " " .. file) end 485 if testing("IPv4") then fork("ionice -c3 ./apt-panopticon.lua " .. sendArgs .. " " .. orig .. path .. " " .. k .. " " .. file) end
486 elseif v == "AAAA" then 486 elseif v == "AAAA" then
487 if testing("IPv6") then fork("ionice -c3 ./apt-panopticon.lua " .. sendArgs .. " " .. orig .. path .. " [" .. k .. "] " .. file) end 487 if testing("IPv6") then fork("ionice -c3 ./apt-panopticon.lua " .. sendArgs .. " " .. orig .. path .. " " .. k .. " " .. file) end
488 end 488 end
489 end 489 end
490 end 490 end