Commit 1f8f2c2c authored by Mickaël Turnel's avatar Mickaël Turnel
Browse files

Fix ICE Agent not able to start if IPV6 is unreachable

parent f90ce1f7
...@@ -608,7 +608,6 @@ int IceAgent::gatherIceCandidates () { ...@@ -608,7 +608,6 @@ int IceAgent::gatherIceCandidates () {
if (mediaSession.getPrivate()->getAf() == AF_INET6) { if (mediaSession.getPrivate()->getAf() == AF_INET6) {
if (linphone_core_get_local_ip_for(AF_INET6, nullptr, localAddr) < 0) { if (linphone_core_get_local_ip_for(AF_INET6, nullptr, localAddr) < 0) {
lError() << "Fail to get local IPv6"; lError() << "Fail to get local IPv6";
return -1;
} else } else
addLocalIceCandidates(AF_INET6, localAddr, audioCl, videoCl, textCl); addLocalIceCandidates(AF_INET6, localAddr, audioCl, videoCl, textCl);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment