diff options
author | Kim Alvefur <zash@zash.se> | 2017-12-01 04:54:23 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2017-12-01 04:54:23 +0100 |
commit | f31e73eb4857a08a82825a19e65a765d2848491b (patch) | |
tree | d52e9b6b8097ddc42cc9ae912b982a51195a6384 /net/dns.lua | |
parent | 6d29dae97fd196145d982813aaa7a94b615a982c (diff) | |
parent | 066b90ccffc05ecc98df624c7b8a1a97ae526dc9 (diff) | |
download | prosody-f31e73eb4857a08a82825a19e65a765d2848491b.tar.gz prosody-f31e73eb4857a08a82825a19e65a765d2848491b.zip |
Merge 0.10->trunk
Diffstat (limited to 'net/dns.lua')
-rw-r--r-- | net/dns.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dns.lua b/net/dns.lua index fa570af1..e6749025 100644 --- a/net/dns.lua +++ b/net/dns.lua @@ -397,7 +397,7 @@ function resolver:AAAA(rr) end addr = table.concat(addr, ":"):gsub("%f[%x]0+(%x)","%1"); local zeros = {}; - for item in addr:gmatch(":[0:]+:") do + for item in addr:gmatch(":[0:]+:[0:]+:") do table.insert(zeros, item) end if #zeros == 0 then |