Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for network interfaces in mDNS configuration #3159

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

cpeliciari
Copy link
Contributor

This commit addresses an issue encountered on Android devices when using the [zeroconf] package, which results in the following error:

[zeroconf] no suitable IPv4 interface: udp4: failed to join any of these interfaces: []

The root cause of this issue is that the zeroconf package fails to properly detect network interfaces on Android. To resolve this, I have implementation with anet, which includes a fix specifically targeting Android compatibility.

Additionally, a similar issue exists in the package github.com/multiformats/go-multiaddr, where it fails to handle network interfaces correctly on Android. I worked around this issue with the following commit:

8491a6c56a51cc4dec517388f4f044d939896984

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant