From 62955193391b4e8ef67e879a75e1215c9078ea64 Mon Sep 17 00:00:00 2001 From: Luca Deri Date: Sun, 23 Aug 2020 14:14:52 +0200 Subject: [PATCH] Cherry pick of PR 373 --- src/sn_utils.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sn_utils.c b/src/sn_utils.c index e607839..9c18477 100644 --- a/src/sn_utils.c +++ b/src/sn_utils.c @@ -220,6 +220,8 @@ int sn_init(n2n_sn_t *sss) sss->sock = -1; sss->mgmt_sock = -1; + n2n_srand (n2n_seed()); /* https://github.com/ntop/n2n/pull/373/files */ + return 0; /* OK */ }