Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
liblinphone
Commits
650cb5b1
Commit
650cb5b1
authored
Sep 26, 2012
by
Ghislain MARY
Browse files
Prevent using getifaddrs() to get the local IP during ICE gathering.
parent
b1f7136e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
coreapi/misc.c
coreapi/misc.c
+1
-1
No files found.
coreapi/misc.c
View file @
650cb5b1
...
...
@@ -620,7 +620,7 @@ int linphone_core_gather_ice_candidates(LinphoneCore *lc, LinphoneCall *call)
lc->vtable.display_status(lc,
_("ICE
local
candidates
gathering
in
progress..."))
;
/* Gather local host candidates. */
if
(linphone_core_get_local_ip_for(AF_INET,
NULL
,
local_addr)
<
0)
{
if
(linphone_core_get_local_ip_for(AF_INET,
server
,
local_addr)
<
0)
{
ms_error("Fail
to
get
local
ip")
;
return
-1
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment