[Freeswitch-svn] [commit] r14057 - freeswitch/trunk/src

FreeSWITCH SVN brian at freeswitch.org
Tue Jun 30 12:36:44 PDT 2009


Author: brian
Date: Tue Jun 30 14:36:44 2009
New Revision: 14057

Log:
 fix this for now 

Modified:
   freeswitch/trunk/src/switch_nat.c

Modified: freeswitch/trunk/src/switch_nat.c
==============================================================================
--- freeswitch/trunk/src/switch_nat.c	(original)
+++ freeswitch/trunk/src/switch_nat.c	Tue Jun 30 14:36:44 2009
@@ -156,8 +156,9 @@
 		goto end;
 	}
 
+
 	pubaddr = inet_ntoa(response.pnu.publicaddress.addr);
-	switch_set_string(pub_addr, pubaddr);
+	switch_set_string(nat_globals.pub_addr, pubaddr);
 	nat_globals.nat_type = SWITCH_NAT_TYPE_PMP;
 	
 	closenatpmp(&natpmp);



More information about the Freeswitch-svn mailing list