提交 35c1d7be authored 作者: Brian West's avatar Brian West

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
上级 1bab5e4f
...@@ -269,7 +269,7 @@ static switch_status_t switch_nat_del_mapping_pmp(switch_port_t port, switch_nat ...@@ -269,7 +269,7 @@ static switch_status_t switch_nat_del_mapping_pmp(switch_port_t port, switch_nat
if (r == 0) { if (r == 0) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "unmapped public port %hu protocol %s to localport %hu\n", 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_UDPPORTMAPPING ? "UDP" :
(response.type == NATPMP_RESPTYPE_TCPPORTMAPPING ? "TCP" : "UNKNOWN"), (response.type == NATPMP_RESPTYPE_TCPPORTMAPPING ? "TCP" : "UNKNOWN"),
response.pnu.newportmapping.privateport); response.pnu.newportmapping.privateport);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论