Fix outbound link-local connections on mobile #1300
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
On mobile platforms if multicast discovery enabled, we can get only inbound connections. Outbound connections doesn't work because of interface lookup errors.
For link-local addresses with zone set, we can proceed without binding. The zone identifier tells the kernel which interface to use
2025/12/22 16:53:17 Discovered addresses for interface wlan0: [192.168.1.125/24 2a06:63c5:9304:c000:5038:f8e3:6d4a:39d6/64 2a06:63c5:9304:c000:8483:3eff:fe63:4b4b/64 fe80::8483:3eff:fe63:4b4b/64]2025/12/22 16:53:17 Dialling tls://[fe80::d905:52e3:b183:5d01%25wlan0]:41315 reported error: interface "wlan0" not found