From 356ff78e35ea5e3f8cbe65cfdecd6803b8e4e33b Mon Sep 17 00:00:00 2001 From: onefang Date: Wed, 13 Nov 2019 21:39:18 +1000 Subject: Actually show the IPv6 logs. Didn't need to tave [IPv6] in the log file names after all, or anywhere else. --- apt-panopticon.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apt-panopticon.lua') 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) if v1 == "A" then if testing("IPv4") then fork("ionice -c3 ./apt-panopticon.lua " .. sendArgs .. " " .. orig .. path .. " " .. k1 .. " " .. file) end elseif v1 == "AAAA" then - if testing("IPv6") then fork("ionice -c3 ./apt-panopticon.lua " .. sendArgs .. " " .. orig .. path .. " [" .. k1 .. "] " .. file) end + if testing("IPv6") then fork("ionice -c3 ./apt-panopticon.lua " .. sendArgs .. " " .. orig .. path .. " " .. k1 .. " " .. file) end end end else if v == "A" then if testing("IPv4") then fork("ionice -c3 ./apt-panopticon.lua " .. sendArgs .. " " .. orig .. path .. " " .. k .. " " .. file) end elseif v == "AAAA" then - if testing("IPv6") then fork("ionice -c3 ./apt-panopticon.lua " .. sendArgs .. " " .. orig .. path .. " [" .. k .. "] " .. file) end + if testing("IPv6") then fork("ionice -c3 ./apt-panopticon.lua " .. sendArgs .. " " .. orig .. path .. " " .. k .. " " .. file) end end end end -- cgit v1.1