diff options
author | dvs1 | 2024-10-20 13:23:54 +1000 |
---|---|---|
committer | dvs1 | 2024-10-20 13:23:54 +1000 |
commit | 6c91007a50ba71b3c23a9ab901c7963377ade460 (patch) | |
tree | e89106ad3493db0f432cca7a496dd649f0ceebc8 /apt-panopticon.lua | |
parent | Curl timeout extended. (diff) | |
download | apt-panopticon-6c91007a50ba71b3c23a9ab901c7963377ade460.zip apt-panopticon-6c91007a50ba71b3c23a9ab901c7963377ade460.tar.gz apt-panopticon-6c91007a50ba71b3c23a9ab901c7963377ade460.tar.bz2 apt-panopticon-6c91007a50ba71b3c23a9ab901c7963377ade460.tar.xz |
Possible fix for IPv6?
Diffstat (limited to 'apt-panopticon.lua')
-rwxr-xr-x | apt-panopticon.lua | 1 |
1 files changed, 1 insertions, 0 deletions
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 | |||
1163 | checkFiles(pu.host, pu.host, pu.path:sub(1, -1), file); | 1163 | checkFiles(pu.host, pu.host, pu.path:sub(1, -1), file); |
1164 | end | 1164 | end |
1165 | else | 1165 | else |
1166 | if "-6" == APT.IPv46 then arg[2] = '[' .. arg[2] .. ']' end | ||
1166 | checkHost(pu.host, pu.host, pu.path, arg[2], arg[3]) | 1167 | checkHost(pu.host, pu.host, pu.path, arg[2], arg[3]) |
1167 | end | 1168 | end |
1168 | 1169 | ||