diff options
author | Kim Alvefur <zash@zash.se> | 2015-05-03 18:38:39 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2015-05-03 18:38:39 +0200 |
commit | a7606f77d99c798faa7067331e5b9ac0272c5ad1 (patch) | |
tree | d4e7b48652c302f6f92aaf08fa5f7624fdd9f612 /net | |
parent | 8f40f1f4e63216c60f2f61610a4386376c46c476 (diff) | |
parent | 38a580bfebacc3c2725f4224c0ca6e7b5c1f8a51 (diff) | |
download | prosody-a7606f77d99c798faa7067331e5b9ac0272c5ad1.tar.gz prosody-a7606f77d99c798faa7067331e5b9ac0272c5ad1.zip |
Merge 0.9->0.10
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 |