提交 dd3ad37b authored 作者: Mathieu Rene's avatar Mathieu Rene

fix

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13635 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 03f2136f
......@@ -184,7 +184,7 @@ static switch_status_t switch_nat_add_mapping_pmp(switch_port_t port, switch_nat
do {
fd_set fds;
struct timeval timeout;
struct timeval timeout = { 1, 0 };
FD_ZERO(&fds);
FD_SET(nat_globals.natpmp.s, &fds);
getnatpmprequesttimeout(&nat_globals.natpmp, &timeout);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论