Date: Mon, 21 Aug 2017 05:42:51 +0100 From: Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.COM> To: FreeBSD Hackers <freebsd-hackers@freebsd.org> Subject: Re: `ifconfig` patch to resolve IPv6 scope names Message-ID: <598333dc-dd80-af14-98b9-0ee7b4eea6e9@NTLWorld.COM>
next in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?598333dc-dd80-af14-98b9-0ee7b4eea6e9>