[Freeswitch-trunk] [commit] r13646 - freeswitch/trunk/src
FreeSWITCH SVN
brian at freeswitch.org
Fri Jun 5 12:31:25 PDT 2009
Author: brian
Date: Fri Jun 5 14:31:25 2009
New Revision: 13646
Log:
Mirror back the port so people don't ask why its ZERO
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 Fri Jun 5 14:31:25 2009
@@ -269,7 +269,7 @@
if (r == 0) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "unmapped public port %hu protocol %s to localport %hu\n",
- response.pnu.newportmapping.mappedpublicport,
+ response.pnu.newportmapping.privateport, /* This might be wrong but its so 0 isn't displayed */
response.type == NATPMP_RESPTYPE_UDPPORTMAPPING ? "UDP" :
(response.type == NATPMP_RESPTYPE_TCPPORTMAPPING ? "TCP" : "UNKNOWN"),
response.pnu.newportmapping.privateport);
More information about the Freeswitch-trunk
mailing list