mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-01 11:02:53 +00:00
FS-6680 #resolve
This commit is contained in:
parent
f11c40d889
commit
1be1219afe
@ -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";
|
||||
|
Loading…
x
Reference in New Issue
Block a user