diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-08-22 21:35:08 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-08-22 21:35:08 +0000 |
commit | c5747a3589eb4dd47185572256b06a627afba1b7 (patch) | |
tree | 36947cb7c2611a4d1ba6891dc2a055f71cde889a /channels/chan_iax2.c | |
parent | 1a733d34e5ca22123b4ab101dbf35364d93b5194 (diff) |
allow peers and users to go into a hash table
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@80408 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_iax2.c')
-rw-r--r-- | channels/chan_iax2.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/channels/chan_iax2.c b/channels/chan_iax2.c index 95ba65d2c..8b8f506e7 100644 --- a/channels/chan_iax2.c +++ b/channels/chan_iax2.c @@ -666,11 +666,9 @@ static AST_LIST_HEAD_STATIC(frame_queue, iax_frame); * containers is considered random, so you will not be able to depend on * the order the entires are specified in iax.conf for matching order. */ #ifdef LOW_MEMORY -#define MAX_PEER_BUCKETS 1 -/* #define MAX_PEER_BUCKETS 17 */ +#define MAX_PEER_BUCKETS 17 #else -#define MAX_PEER_BUCKETS 1 -/* #define MAX_PEER_BUCKETS 563 */ +#define MAX_PEER_BUCKETS 563 #endif static ao2_container *peers; |