Commit 08a66cdf authored by Simon Morlat's avatar Simon Morlat
Browse files

Fix commit 3fd706a7 - it was incomplete.

parent 455e0b71
......@@ -1284,8 +1284,13 @@ static void linphone_call_get_local_ip(LinphoneCall *call, const LinphoneAddress
* from the socket that connect to this proxy */
if (call->dest_proxy && call->dest_proxy->op){
if ((ip = sal_op_get_local_address(call->dest_proxy->op, NULL)) != NULL){
ms_message("Found media local-ip from signaling.");
goto found;
if (strchr(ip, ':') != NULL && af == AF_INET){
/*case where we've decided to use IPv4 in select_outgoing_ip_version(), but the signaling local ip address is IPv6*/
/*we'll use the default media localip*/
}else{
ms_message("Found media local-ip from signaling.");
goto found;
}
}
}
......
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