Fix ICE Agent not able to start if IPV6 is unreachable

This commit is contained in:
Mickaël Turnel 2018-06-12 18:08:11 +02:00
parent f90ce1f7ea
commit 1f8f2c2c80

View file

@ -608,7 +608,6 @@ int IceAgent::gatherIceCandidates () {
if (mediaSession.getPrivate()->getAf() == AF_INET6) {
if (linphone_core_get_local_ip_for(AF_INET6, nullptr, localAddr) < 0) {
lError() << "Fail to get local IPv6";
return -1;
} else
addLocalIceCandidates(AF_INET6, localAddr, audioCl, videoCl, textCl);
}