FS-6680 #resolve

This commit is contained in:
Brian West 2014-07-23 11:28:07 -05:00
parent f11c40d889
commit 1be1219afe
1 changed files with 1 additions and 1 deletions

View File

@ -173,7 +173,7 @@ static int get_pmp_pubaddr(char *pub_addr)
goto end;
}
pflags = switch_wait_sock(natpmp.s, 100, SWITCH_POLL_READ | SWITCH_POLL_ERROR | SWITCH_POLL_HUP);
pflags = switch_wait_sock(natpmp.s, switch_interval_time_from_timeval(&timeout), SWITCH_POLL_READ | SWITCH_POLL_ERROR | SWITCH_POLL_HUP);
if ((pflags & SWITCH_POLL_ERROR) || (pflags & SWITCH_POLL_HUP)) {
err = "wait sock failed";