Software /
code /
prosody
Diff
net/dns.lua @ 6866:abff7543b79c
Merge 0.9->0.10
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 25 Sep 2015 16:51:42 +0100 |
parent | 6857:86fcc3fa1a97 |
parent | 6863:88d54bec26b7 |
child | 7061:eda0feeaf759 |
line wrap: on
line diff
--- a/net/dns.lua Fri Sep 25 17:43:21 2015 +0200 +++ b/net/dns.lua Fri Sep 25 16:51:42 2015 +0100 @@ -853,9 +853,7 @@ --self.print(response); for j,rr in pairs(response.answer) do - if rr.name:sub(-#response.question[1].name, -1) == response.question[1].name then - self:remember(rr, response.question[1].type) - end + self:remember(rr, response.question[1].type) end -- retire the query