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

Parse link-local IPv6 addreses with scope id #331

Open
Danielius1922 opened this issue Oct 17, 2022 · 0 comments · May be fixed by #330
Open

Parse link-local IPv6 addreses with scope id #331

Danielius1922 opened this issue Oct 17, 2022 · 0 comments · May be fixed by #330
Assignees
Labels
enhancement New feature or request

Comments

@Danielius1922
Copy link
Member

Add support for scope id (https://www.rfc-editor.org/rfc/rfc6874) to oc_string_to_endpoint when parsing a link-local IPv6 address.

Addresses like

fe80::1:2:3:4%9
fe80::1:2:3:4%eth0

when parsed to oc_endpoint_t should have the scope_id member of the ipv6 address filled with the correct value.

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

Successfully merging a pull request may close this issue.

1 participant