From 6c91007a50ba71b3c23a9ab901c7963377ade460 Mon Sep 17 00:00:00 2001 From: dvs1 Date: Sun, 20 Oct 2024 13:23:54 +1000 Subject: Possible fix for IPv6? --- apt-panopticon.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/apt-panopticon.lua b/apt-panopticon.lua index 5d6cb70..042e510 100755 --- a/apt-panopticon.lua +++ b/apt-panopticon.lua @@ -1163,6 +1163,7 @@ if 0 < #arg then checkFiles(pu.host, pu.host, pu.path:sub(1, -1), file); end else + if "-6" == APT.IPv46 then arg[2] = '[' .. arg[2] .. ']' end checkHost(pu.host, pu.host, pu.path, arg[2], arg[3]) end -- cgit v1.1