@vingarzan commented on this pull request.


In src/modules/cdp/diameter_peer.c:

> @@ -236,7 +236,7 @@ int diameter_peer_start(int blocking)
 	int seed;
 	peer *p;
 
-	seed = random();
+	seed = kam_rand();

Seems like that function is already called, so I can probably just remove the seeding from here, since it was already seeded (by calling fork_process()).


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <kamailio/kamailio/pull/4030/review/2445597622@github.com>