diff options
-rw-r--r-- | core/s2smanager.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/s2smanager.lua b/core/s2smanager.lua index 386e0794..b8faf712 100644 --- a/core/s2smanager.lua +++ b/core/s2smanager.lua @@ -35,7 +35,7 @@ local log = logger_init("s2smanager"); local sha256_hash = require "util.hashes".sha256; -local dialback_secret = sha256_hash(tostring{} .. math.random() .. socket.gettime(), true); +local dialback_secret = uuid_gen(); local adns = require "net.adns"; |