diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-07-24 03:46:01 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-07-24 03:46:01 +0000 |
commit | e327657e64dbb49970826aacb636a5176dbb8228 (patch) | |
tree | b83213cec7dfd2670a12d0534c0b0b7910c5f3b0 | |
parent | 7e1729e3ca6c91eb416ea423fb0e4047604c1472 (diff) |
This part was not correctly patched for AST-2008-010.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@133360 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | channels/chan_iax2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/channels/chan_iax2.c b/channels/chan_iax2.c index eb902147f..71f06e57c 100644 --- a/channels/chan_iax2.c +++ b/channels/chan_iax2.c @@ -1318,10 +1318,10 @@ static int find_callno(unsigned short callno, unsigned short dcallno, struct soc gettimeofday(&now, NULL); - start = 1 + (rand() % (TRUNK_CALL_START - 1)); + start = 2 + (rand() % (TRUNK_CALL_START - 1)); for (x = start; 1; x++) { if (x == TRUNK_CALL_START) { - x = 0; + x = 1; continue; } |