aboutsummaryrefslogtreecommitdiffstats
path: root/pbx
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-04-13 04:47:39 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-04-13 04:47:39 +0000
commit7da33e49f47b232b1f8c5f8099541629fbc1e2ea (patch)
treee1aeac46df33ad6eda3039636b8939aaf48d71a4 /pbx
parent0ec2431168fa927330180da2c8511cf740ade3f0 (diff)
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: http://svn.digium.com/svn/asterisk/trunk@5459 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'pbx')
-rwxr-xr-xpbx/pbx_dundi.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/pbx/pbx_dundi.c b/pbx/pbx_dundi.c
index cae675c17..1c198c0e4 100755
--- a/pbx/pbx_dundi.c
+++ b/pbx/pbx_dundi.c
@@ -4632,9 +4632,6 @@ int load_module(void)
dundi_set_output(dundi_debug_output);
dundi_set_error(dundi_error_output);
- /* Seed random number generator */
- srand(time(NULL));
-
sin.sin_family = AF_INET;
sin.sin_port = ntohs(DUNDI_PORT);
sin.sin_addr.s_addr = INADDR_ANY;