[Freeswitch-svn] [commit] r5942 - freeswitch/trunk/src/mod/endpoints/mod_sofia

Freeswitch SVN brian at freeswitch.org
Wed Oct 17 15:51:39 EDT 2007


Author: brian
Date: Wed Oct 17 15:51:39 2007
New Revision: 5942

Modified:
   freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c

Log:
tweak

Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c	Wed Oct 17 15:51:39 2007
@@ -822,7 +822,7 @@
 						if (!strcasecmp(val, "auto")) {
 							profile->extsipip = switch_core_strdup(profile->pool, mod_sofia_globals.guess_ip);
 						} else {
-							char *ip = NULL;
+							char *ip = mod_sofia_globals.guess_ip;
 							switch_port_t port = 0;
 							if (sofia_glue_ext_address_lookup(&ip, &port, val, profile->pool) == SWITCH_STATUS_SUCCESS) {
 



More information about the Freeswitch-svn mailing list