Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Feb 2015 01:36:23 +0300
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        Vsevolod Stakhov <vsevolod@FreeBSD.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r278080 - head/sbin/ifconfig
Message-ID:  <20150212223623.GC15484@FreeBSD.org>
In-Reply-To: <201502021303.t12D35Nf059543@svn.freebsd.org>
References:  <201502021303.t12D35Nf059543@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Feb 02, 2015 at 01:03:05PM +0000, Vsevolod Stakhov wrote:
V> Author: vsevolod (ports committer)
V> Date: Mon Feb  2 13:03:04 2015
V> New Revision: 278080
V> URL: https://svnweb.freebsd.org/changeset/base/278080
V> 
V> Log:
V>   Reorganize the list of addresses associated with an interface and group them
V>   based on the address family. This should help to recognize interfaces with
V>   multiple AF (e.g. ipv4 and ipv6) with many aliases or additional addresses. The
V>   order of addresses inside a single group is strictly preserved.
V>   
V>   Improve the scope_id output for AF_INET6 families, as the
V>   current approach uses hexadecimal string that is basically the ID of an
V>   interface, whilst this information is already depicted by getnameinfo(3) call.
V>   Therefore, now ifconfig just prints the scope of address as it is defined in
V>   2.4 of RFC 2373.
V>   
V>   PR:		197270
V>   Approved by:	bapt
V>   MFC after:	2 weeks

What about getifaddrs(3) sorting addresses?

-- 
Totus tuus, Glebius.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150212223623.GC15484>