[Bug 197270] [Patch] Improve output of ifconfig command

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Feb 2 13:03:48 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197270

--- Comment #4 from commit-hook at freebsd.org ---
A commit references this bug:

Author: vsevolod
Date: Mon Feb  2 13:03:05 UTC 2015
New revision: 278080
URL: https://svnweb.freebsd.org/changeset/base/278080

Log:
  Reorganize the list of addresses associated with an interface and group them
  based on the address family. This should help to recognize interfaces with
  multiple AF (e.g. ipv4 and ipv6) with many aliases or additional addresses.
The
  order of addresses inside a single group is strictly preserved.

  Improve the scope_id output for AF_INET6 families, as the
  current approach uses hexadecimal string that is basically the ID of an
  interface, whilst this information is already depicted by getnameinfo(3)
call.
  Therefore, now ifconfig just prints the scope of address as it is defined in
  2.4 of RFC 2373.

  PR:        197270
  Approved by:    bapt
  MFC after:    2 weeks

Changes:
  head/sbin/ifconfig/af_inet6.c
  head/sbin/ifconfig/ifconfig.c

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list