changeset 8424 | 3d21c63ec03f |
parent 8266 | 9b52b1f19b51 |
child 8443 | 4e6710b4f873 |
child 8900 | 102242a7ee60 |
--- a/net/dns.lua Thu Nov 30 19:35:35 2017 +0100 +++ b/net/dns.lua Fri Dec 01 04:50:20 2017 +0100 @@ -390,7 +390,7 @@ 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