提交 813fd67a authored 作者: Brian West's avatar Brian West

fix this for now

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14057 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 643f9fd1
......@@ -156,8 +156,9 @@ static int get_pmp_pubaddr(char *pub_addr)
goto end;
}
pubaddr = inet_ntoa(response.pnu.publicaddress.addr);
switch_set_string(pub_addr, pubaddr);
switch_set_string(nat_globals.pub_addr, pubaddr);
nat_globals.nat_type = SWITCH_NAT_TYPE_PMP;
closenatpmp(&natpmp);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论