svn commit: r278080 - head/sbin/ifconfig
Gleb Smirnoff
glebius at FreeBSD.org
Thu Feb 12 22:36:27 UTC 2015
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.
More information about the svn-src-all
mailing list