diff options
Diffstat (limited to 'pimd/pimd.c')
-rw-r--r-- | pimd/pimd.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pimd/pimd.c b/pimd/pimd.c index 78c3ff5d..3797d4fc 100644 --- a/pimd/pimd.c +++ b/pimd/pimd.c @@ -34,7 +34,6 @@ #include "pim_oil.h" #include "pim_pim.h" #include "pim_upstream.h" -#include "pim_rand.h" #include "pim_rpf.h" #include "pim_ssmpingd.h" @@ -83,7 +82,7 @@ static void pim_free() void pim_init() { - pim_rand_init(); + srandom(time(NULL)); if (!inet_aton(PIM_ALL_PIM_ROUTERS, &qpim_all_pim_routers_addr)) { zlog_err("%s %s: could not solve %s to group address: errno=%d: %s", |