summaryrefslogtreecommitdiff
path: root/channels/chan_iax2.c
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2007-08-22 21:35:08 +0000
committerRussell Bryant <russell@russellbryant.com>2007-08-22 21:35:08 +0000
commitf6f9c147233aed73ce37b90c29143f436558e4bd (patch)
tree36947cb7c2611a4d1ba6891dc2a055f71cde889a /channels/chan_iax2.c
parenteb6813cce3e887ef94ee5763aa47b741d931bfa7 (diff)
allow peers and users to go into a hash table
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@80408 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_iax2.c')
-rw-r--r--channels/chan_iax2.c6
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;