From 66a908d35fcb8564d592e8e91133ef337e832284 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Fri, 15 Apr 2011 00:54:10 +0200 Subject: net.dns: Fix TXT records --- net/dns.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'net') diff --git a/net/dns.lua b/net/dns.lua index c905f56c..08cb0f7c 100644 --- a/net/dns.lua +++ b/net/dns.lua @@ -479,7 +479,7 @@ function resolver:PTR(rr) end function resolver:TXT(rr) -- - - - - - - - - - - - - - - - - - - - - - TXT - rr.txt = self:sub (rr.rdlength); + rr.txt = self:sub (self:byte()); end -- cgit v1.2.3