From f6f9c147233aed73ce37b90c29143f436558e4bd Mon Sep 17 00:00:00 2001
From: Russell Bryant <russell@russellbryant.com>
Date: Wed, 22 Aug 2007 21:35:08 +0000
Subject: [PATCH] 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
---
 channels/chan_iax2.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/channels/chan_iax2.c b/channels/chan_iax2.c
index 95ba65d2c8..8b8f506e7b 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;
 
-- 
GitLab