SIOCGLIFADDR doesn't set sin6_scope_id for link-local IPv6 addresses
When getting an address on an IPv6 interface with SIOCGLIFADDR, only the sin6_family and sin6_addr fields are set. If the address is a link-local address, then the zone identifier (the interface ID) should be placed in the sin6_scope_id field.
Updated by Electric Monk about 6 years ago
- Status changed from New to Closed
commit 257b568661af68ce9df60ea121105e7709216a53 Author: Cody Peter Mello <email@example.com> Date: 2016-03-23T15:37:37.000Z 6680 SIOCGLIFADDR doesn't set sin6_scope_id for link-local IPv6 addresses Reviewed by: Dan McDonald <firstname.lastname@example.org> Approved by: Hans Rosenfeld <email@example.com>