diff options
Diffstat (limited to 'net')
-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 eba2b5a0..93c1805b 100644 --- a/net/dns.lua +++ b/net/dns.lua @@ -889,7 +889,7 @@ function resolver:feed(sock, packet, force) --self.print(response); for _, rr in pairs(response.answer) do - self:remember(rr, response.question[1].type); + self:remember(rr, rr.type); end -- retire the query |