mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-22 20:56:39 +00:00
ensure that the random number generator(s) are always seeded with a different value during Asterisk startup
don't reinitialize random number generators in other modules (bug #4017) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5459 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -8465,7 +8465,6 @@ static int reload_config(void)
|
||||
ast_clear_flag((&globalflags), IAX_NOTRANSFER);
|
||||
ast_clear_flag((&globalflags), IAX_USEJITTERBUF);
|
||||
ast_clear_flag((&globalflags), IAX_FORCEJITTERBUF);
|
||||
srand(time(NULL));
|
||||
delete_users();
|
||||
set_config(config,1);
|
||||
prune_peers();
|
||||
|
Reference in New Issue
Block a user