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 | 05cd95bf80167c87312b04107a3f2abc25e83094 (patch) | |
tree | 479c845b81a7d47465c3223177a7119dbe3dd7ba /net/dns.lua | |
parent | 4c01dc18780c4b0b93616093c86b2c9cff3d12f2 (diff) | |
parent | e39fde236178e9d41cf0b1f56aae0aad382df96b (diff) | |
download | prosody-05cd95bf80167c87312b04107a3f2abc25e83094.tar.gz prosody-05cd95bf80167c87312b04107a3f2abc25e83094.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 |