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

IPv6 Link-Local addresses are missing scope. #12

Open
Supereg opened this issue Apr 25, 2022 · 1 comment
Open

IPv6 Link-Local addresses are missing scope. #12

Supereg opened this issue Apr 25, 2022 · 1 comment

Comments

@Supereg
Copy link
Owner

Supereg commented Apr 25, 2022

Problem

HAP-Proxy derives the Proxies accessory address from its mDNS announcement. It fails to connect when using the advertised IPv6 Link-Local of a accessory as the required interface scope is not appended to the address.

Solution

Append the scope (%<interface name>) to the address string.

@Supereg
Copy link
Owner Author

Supereg commented Nov 6, 2022

As shown in the linked commit, and option --hostname was added to the CLI to specify a custom hostname. This acts as a workaround for this issue.

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

No branches or pull requests

1 participant