`ifconfig` patch to resolve IPv6 scope names

Jonathan de Boyne Pollard J.deBoynePollard-newsgroups at NTLWorld.COM
Mon Aug 21 04:44:05 UTC 2017


raichoo:

> + switch (__IPV6_ADDR_MC_SCOPE(addr)) {
>
> + case __IPV6_ADDR_SCOPE_NODELOCAL:
>
I recommend instead using IN6_IS_ADDR_MC_NODELOCAL() and its ilk from 
netinet/in.h .  They are defined by the SUS.



More information about the freebsd-hackers mailing list