mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-29 09:09:21 +00:00
Add log to notify the start of stun server resolution.
This commit is contained in:
parent
2dd2ee6e79
commit
0c98521d5d
1 changed files with 1 additions and 0 deletions
|
|
@ -234,6 +234,7 @@ void linphone_nat_policy_resolve_stun_server(LinphoneNatPolicy *policy) {
|
|||
if (service != NULL) {
|
||||
int family = AF_INET;
|
||||
if (linphone_core_ipv6_enabled(policy->lc) == TRUE) family = AF_INET6;
|
||||
ms_message("Starting stun server resolution [%s]", host);
|
||||
policy->stun_resolver_context = sal_resolve(policy->lc->sal, service, "udp", host, port, family, stun_server_resolved, policy);
|
||||
if (policy->stun_resolver_context) belle_sip_object_ref(policy->stun_resolver_context);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue