Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change to prefer IPv6 link local address (project-chip#27981)
The IPv6 LLA of the Commissioner is almost always valid. On the other hand, Commissioner's ULA updates sometimes don't work well, so it's very rare that there is no ULA. At this time, the Commissioner mDNS resolves IPv6 addresses through Commissionable Node Discovery, - If it selects ULA address, "Network is unreachable" error occurs. - If it selects LLA address, it works well. Through IPv6 source address selection, - If IPv6 destination address is LLA, source address is selected as LLA. - If IPv6 destination address is ULA, source address is selected as ULA. The solution is simple. The Commissioner should prefer IPv6 LLA over ULA among mDNS resolved IPv6 addresses. The same problem occurred on android and darwin platforms, and it is possible that this problem is common to all platforms. So it's better to fix that for all platforms. Signed-off-by: Youngho Yoon <[email protected]>
- Loading branch information