diff options
author | Matthew Wild <mwild1@gmail.com> | 2015-05-06 19:21:29 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2015-05-06 19:21:29 +0100 |
commit | a540d613cd08b8feee096d19b727d1f5b2cab507 (patch) | |
tree | ac1899833b30b87ea97439f061e9b892bd188367 /net | |
parent | 8b320cb39f3d22c7af46d33ddfc017a726db30d0 (diff) | |
parent | 80bafb72003774e5eb63ef9d3d7960385cfb8c6a (diff) | |
download | prosody-a540d613cd08b8feee096d19b727d1f5b2cab507.tar.gz prosody-a540d613cd08b8feee096d19b727d1f5b2cab507.zip |
Merge
Diffstat (limited to 'net')
-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 |