diff options
author | Matthew Wild <mwild1@gmail.com> | 2013-03-10 11:29:47 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2013-03-10 11:29:47 +0000 |
commit | b33222a96c6ac68c70f457958c71d756625c24bc (patch) | |
tree | 479c845b81a7d47465c3223177a7119dbe3dd7ba /net/dns.lua | |
parent | 1929113b7830954ae60ad49934b3c16bf746a9ba (diff) | |
parent | f936068a625d3e34d3e72c79e13b81fba34b28ab (diff) | |
download | prosody-b33222a96c6ac68c70f457958c71d756625c24bc.tar.gz prosody-b33222a96c6ac68c70f457958c71d756625c24bc.zip |
Merge 0.9->trunk
Diffstat (limited to 'net/dns.lua')
-rw-r--r-- | net/dns.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dns.lua b/net/dns.lua index a134eceb..c9c51fe8 100644 --- a/net/dns.lua +++ b/net/dns.lua @@ -223,7 +223,7 @@ end function dns.random(...) -- - - - - - - - - - - - - - - - - - - dns.random - math.randomseed(math.floor(10000*socket.gettime())); + math.randomseed(math.floor(10000*socket.gettime()) % 0x100000000); dns.random = math.random; return dns.random(...); end |