author | Matthew Wild <mwild1@gmail.com> |
Thu, 03 Dec 2009 01:13:06 +0000 | |
changeset 2301 | 8a01b0898679 |
parent 2300 | e182b5029ef2 |
child 2302 | 2dc9bbf25447 |
net/dns.lua | file | annotate | diff | comparison | revisions |
--- a/net/dns.lua Thu Dec 03 01:10:08 2009 +0000 +++ b/net/dns.lua Thu Dec 03 01:13:06 2009 +0000 @@ -745,7 +745,7 @@ if not next(self.active) then self:closeall(); end -- was the query on the wanted list? - local q = response.question; + local q = response.question[1]; local cos = get(self.wanted, q.class, q.type, q.name); if cos then for co in pairs(cos) do