git: ifconfig(8): Group addresses of each interface by family

Aaron LI aly at crater.dragonflybsd.org
Fri Jun 26 07:55:31 PDT 2020


commit 7fc7addcbc2bc5f6f644d5d161bce35ecbbebcca
Author: Aaron LI <aly at aaronly.me>
Date:   Fri Jun 26 20:56:17 2020 +0800

    ifconfig(8): Group addresses of each interface by family
    
    Group the list of addresses associated with an interface by the address
    family.  A stable sorting algorithm is employed here to preserve the
    order of addresses inside a single group of each interface.
    
    Obtained from FreeBSD (revisions 278080 and 278107).

Summary of changes:
 sbin/ifconfig/ifconfig.c | 162 ++++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 160 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7fc7addcbc2bc5f6f644d5d161bce35ecbbebcca


-- 
DragonFly BSD source repository


More information about the Commits mailing list