diff options
author | Kim Alvefur <zash@zash.se> | 2015-05-03 18:39:27 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2015-05-03 18:39:27 +0200 |
commit | 8896368c298dc1d009dc56b38919e02b35f3214d (patch) | |
tree | 1db58cd52f622c3560457cf589cdc8e6326d28e6 /net/dns.lua | |
parent | ec503579285d613085de37168feffa3ad9ea793d (diff) | |
parent | f303d3dda826ebe6df8bc8a4534ee674291a4795 (diff) | |
download | prosody-8896368c298dc1d009dc56b38919e02b35f3214d.tar.gz prosody-8896368c298dc1d009dc56b38919e02b35f3214d.zip |
Merge 0.10->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 2128fb1a..037f3ec6 100644 --- a/net/dns.lua +++ b/net/dns.lua @@ -226,7 +226,7 @@ end 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 |