Changeset

2034:38d4694828e6

Merged with trunk.
author Waqas Hussain <waqas20@gmail.com>
date Wed, 21 Oct 2009 12:02:30 +0500
parents 2027:4cd673721e72 (diff) 2033:38d32c154cec (current diff)
children 2035:b8c3dbf76a2e
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/net/dns.lua	Wed Oct 21 11:58:33 2009 +0500
+++ b/net/dns.lua	Wed Oct 21 12:02:30 2009 +0500
@@ -443,7 +443,7 @@
   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