mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-14 16:15:04 +00:00
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:
parent
1bab5e4f03
commit
35c1d7bec7
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user