Project

General

Profile

Actions

Bug #6680

closed

SIOCGLIFADDR doesn't set sin6_scope_id for link-local IPv6 addresses

Added by Robert Mustacchi about 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
networking
Start date:
2016-02-27
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

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.

Actions #1

Updated by Electric Monk about 5 years ago

  • Status changed from New to Closed

git commit 257b568661af68ce9df60ea121105e7709216a53

commit  257b568661af68ce9df60ea121105e7709216a53
Author: Cody Peter Mello <cody.mello@joyent.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 <danmcd@omniti.com>
    Approved by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>

Actions

Also available in: Atom PDF