iotivity-lite icon indicating copy to clipboard operation
iotivity-lite copied to clipboard

Parse link-local IPv6 addreses with scope id

Open Danielius1922 opened this issue 2 years ago • 0 comments

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.

Danielius1922 avatar Oct 17 '22 08:10 Danielius1922