mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-28 08:39:20 +00:00
fix bad guess of ip addresses with getifaddrs() (ipv6)
This commit is contained in:
parent
6672dec459
commit
10294f3ceb
1 changed files with 1 additions and 0 deletions
|
|
@ -683,6 +683,7 @@ static int get_local_ip_with_getifaddrs(int type, char *address, int size)
|
|||
if (strchr(address, '%') == NULL) { /*avoid ipv6 link-local addresses */
|
||||
/*ms_message("getifaddrs() found %s",address);*/
|
||||
ret++;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue