aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/dns.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dns.lua b/net/dns.lua
index 08bc53a9..8f943793 100644
--- a/net/dns.lua
+++ b/net/dns.lua
@@ -723,7 +723,7 @@ function resolver:receive(rset) -- - - - - - - - - - - - - - - - - receive
for i,sock in pairs(rset) do
if self.socketset[sock] then
- local packet = sock:receive();
+ local packet = sock.receive();
if packet then
response = self:decode(packet);
if response and self.active[response.header.id]