aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2015-05-06 19:21:29 +0100
committerMatthew Wild <mwild1@gmail.com>2015-05-06 19:21:29 +0100
commita540d613cd08b8feee096d19b727d1f5b2cab507 (patch)
treeac1899833b30b87ea97439f061e9b892bd188367 /net
parent8b320cb39f3d22c7af46d33ddfc017a726db30d0 (diff)
parent80bafb72003774e5eb63ef9d3d7960385cfb8c6a (diff)
downloadprosody-a540d613cd08b8feee096d19b727d1f5b2cab507.tar.gz
prosody-a540d613cd08b8feee096d19b727d1f5b2cab507.zip
Merge
Diffstat (limited to 'net')
-rw-r--r--net/dns.lua2
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