[Freeswitch-branches] [commit] r13587 - freeswitch/branches/brian/trunk/src

FreeSWITCH SVN brian at freeswitch.org
Wed Jun 3 12:26:36 PDT 2009


Author: brian
Date: Wed Jun  3 14:26:35 2009
New Revision: 13587

Log:
 merge trunk 

Modified:
   freeswitch/branches/brian/trunk/src/switch_core.c

Modified: freeswitch/branches/brian/trunk/src/switch_core.c
==============================================================================
--- freeswitch/branches/brian/trunk/src/switch_core.c	(original)
+++ freeswitch/branches/brian/trunk/src/switch_core.c	Wed Jun  3 14:26:35 2009
@@ -904,6 +904,12 @@
 	switch_network_list_add_cidr(rfc_list, "192.168.0.0/16", SWITCH_TRUE);
 	switch_core_hash_insert(IP_LIST.hash, tmp_name, rfc_list);	
 
+	tmp_name = "loopback.auto";
+	switch_network_list_create(&rfc_list, tmp_name, SWITCH_FALSE, IP_LIST.pool);
+	switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_NOTICE, "Created ip list %s default (deny)\n", tmp_name);
+	switch_network_list_add_cidr(rfc_list, "127.0.0.0/8", SWITCH_TRUE);
+	switch_core_hash_insert(IP_LIST.hash, tmp_name, rfc_list);
+
 	tmp_name = "localnet.auto";
 	switch_network_list_create(&list, tmp_name, SWITCH_FALSE, IP_LIST.pool);
 	switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_NOTICE, "Created ip list %s default (deny)\n", tmp_name);



More information about the Freeswitch-branches mailing list