Mirror back the port so people don't ask why its ZERO

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13646 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West 2009-06-05 19:31:25 +00:00
parent 1bab5e4f03
commit 35c1d7bec7
1 changed files with 1 additions and 1 deletions

View File

@ -269,7 +269,7 @@ static switch_status_t switch_nat_del_mapping_pmp(switch_port_t port, switch_nat
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);