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

FreeSWITCH SVN brian at freeswitch.org
Sat May 30 03:24:39 PDT 2009


Author: brian
Date: Sat May 30 05:24:38 2009
New Revision: 13523

Log:
 more clean up 

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	Sat May 30 05:24:38 2009
@@ -53,12 +53,12 @@
 
 static int init_upnp (void)
 {
-	struct UPNPDev * devlist;
-	struct UPNPDev * dev;
+	struct UPNPDev *devlist;
+	struct UPNPDev *dev;
 	char * descXML;
 	int descXMLsize = 0;
-	const char * multicastif = 0;
-	const char * minissdpdpath = 0;
+	const char *multicastif = 0;
+	const char *minissdpdpath = 0;
 	int r = -2;
 
 	memset(&nat_globals.urls, 0, sizeof(struct UPNPUrls));
@@ -157,7 +157,7 @@
 		switch_core_set_variable("nat_private_addr", nat_globals.pvt_addr);
 		switch_core_set_variable("nat_type", nat_globals.nat_type == SWITCH_NAT_TYPE_PMP ? "pmp" : "upnp");
 	} else {
-		switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "No NAT Detected!\n");
+		switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "No PMP or uPNP NAT device detected!\n");
 	}
 }
 



More information about the Freeswitch-svn mailing list