Diff

net/dns.lua @ 6665:e923d7cb8430

Merge
author Matthew Wild <mwild1@gmail.com>
date Wed, 06 May 2015 19:21:29 +0100
parent 6646:9795b8cf14f1
child 6753:33426c56f5d5
line wrap: on
line diff
--- a/net/dns.lua	Wed May 06 19:21:18 2015 +0100
+++ b/net/dns.lua	Wed May 06 19:21:29 2015 +0100
@@ -226,7 +226,7 @@
 
 
 function dns.random(...)    -- - - - - - - - - - - - - - - - - - -  dns.random
-	math.randomseed(math.floor(10000*socket.gettime()) % 0x100000000);
+	math.randomseed(math.floor(10000*socket.gettime()) % 0x80000000);
 	dns.random = math.random;
 	return dns.random(...);
 end