aboutsummaryrefslogtreecommitdiffstats
path: root/net/dns.lua
diff options
context:
space:
mode:
Diffstat (limited to 'net/dns.lua')
-rw-r--r--net/dns.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dns.lua b/net/dns.lua
index a1bdb7d7..74c17a56 100644
--- a/net/dns.lua
+++ b/net/dns.lua
@@ -443,7 +443,7 @@ function resolver:rr () -- - - - - - - - - - - - - - - - - - - - - - - - rr
rr.ttl = 0x10000*self:word () + self:word ()
rr.rdlength = self:word ()
- if rr.ttl <= 0 then rr.tod = self.time;
+ if rr.ttl <= 0 then rr.tod = self.time + 30;
else rr.tod = self.time + rr.ttl end
local remember = self.offset