]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
more clean up
authorBrian West <brian@freeswitch.org>
Sat, 30 May 2009 10:24:38 +0000 (10:24 +0000)
committerBrian West <brian@freeswitch.org>
Sat, 30 May 2009 10:24:38 +0000 (10:24 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13523 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_nat.c

index 398cae20a67f3cfe4797bd3151bbe9b128c61454..990085a6ff19122d3212703ac9eb045ec6f2ddf8 100644 (file)
@@ -53,12 +53,12 @@ static nat_globals_t nat_globals;
 
 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_DECLARE(void) switch_nat_init(switch_memory_pool_t *pool)
                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");
        }
 }