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

[mdns] Fix multicast routing error on esp32 (and likely other platforms) #110

Merged
merged 2 commits into from
Oct 6, 2023

Conversation

jasta
Copy link
Contributor

@jasta jasta commented Oct 4, 2023

According to the RFC
(https://datatracker.ietf.org/doc/html/rfc2553#section-3.3), it is necessary to disambiguate link-local addresses with the interface index (in the scope_id field). Lacking this field, newer versions of lwip that support proper IPv6 scopes will yield EHOSTUNREACH (Host unreachable). Other implementations like on Linux and OS X will likely be affected by the lack of this field for more complex networking setups.

Fixes #100

@CLAassistant
Copy link

CLAassistant commented Oct 4, 2023

CLA assistant check
All committers have signed the CLA.

@jasta
Copy link
Contributor Author

jasta commented Oct 4, 2023

hehe, cargo clippy checks fail then when I run cargo clippy --fix the build fails. Oh rust :)

According to the RFC
(https://datatracker.ietf.org/doc/html/rfc2553#section-3.3), it is
necessary to disambiguate link-local addresses with the interface index
(in the scope_id field).  Lacking this field, newer versions of lwip that
support proper IPv6 scopes will yield EHOSTUNREACH (Host unreachable).
Other implementations like on Linux and OS X will likely be affected by
the lack of this field for more complex networking setups.

Fixes project-chip#100

Run cargo fmt again

Run cargo clippy again

Revert "Run cargo clippy again"

This reverts commit e3bba1f.
Copy link
Contributor

@ivmarkov ivmarkov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@jasta
Copy link
Contributor Author

jasta commented Oct 5, 2023

@ivmarkov I'm guessing you don't have merge access? Is that only @kedars that can?

@ivmarkov
Copy link
Contributor

ivmarkov commented Oct 6, 2023

Yes, only @kedars

@jasta
Copy link
Contributor Author

jasta commented Oct 6, 2023

@kedars is there anything more for me to do on this PR? I think you have to push the merge button. At least, I don't see any option to merge.

@kedars kedars merged commit 7b55e7f into project-chip:main Oct 6, 2023
21 checks passed
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.

IPv6-specific "Host is unreachable" error that exits the matter runtime
4 participants