[Freeswitch-trunk] [commit] r14029 - freeswitch/trunk/src/mod/endpoints/mod_dingaling

FreeSWITCH SVN brian at freeswitch.org
Mon Jun 29 07:15:01 PDT 2009


Author: brian
Date: Mon Jun 29 09:15:00 2009
New Revision: 14029

Log:
 doh 

Modified:
   freeswitch/trunk/src/mod/endpoints/mod_dingaling/mod_dingaling.c

Modified: freeswitch/trunk/src/mod/endpoints/mod_dingaling/mod_dingaling.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_dingaling/mod_dingaling.c	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_dingaling/mod_dingaling.c	Mon Jun 29 09:15:00 2009
@@ -1963,7 +1963,7 @@
 		char *ip = globals.guess_ip;
 		if (!strcasecmp(val, "auto-nat")) {
 			ip = globals.auto_nat ? switch_core_get_variable("nat_public_addr") : globals.guess_ip;
-		} else if (strcasecmp(val, "auto")) {
+		} else if (!strcasecmp(val, "auto")) {
 			globals.auto_nat = 0;
 			ip = globals.guess_ip;
 		} else {



More information about the Freeswitch-trunk mailing list