|
Message-ID: <20151130200147.GU3818@brightrain.aerifal.cx> Date: Mon, 30 Nov 2015 15:01:47 -0500 From: Rich Felker <dalias@...c.org> To: musl@...ts.openwall.com Subject: Re: [PATCHv2] properly handle point-to-point interfaces in getifaddrs() On Thu, Nov 19, 2015 at 09:43:10PM +0100, Jo-Philipp Wich wrote: > With point-to-point interfaces, the IFA_ADDRESS netlink attribute contains > the peer address while an extra attribute IFA_LOCAL carries the actual local > interface address. > > Both the glibc and uclibc implementations of getifaddrs() handle this case > by moving the ifa_addr contents to the broadcast/remote address union and > overwriting ifa_addr upon receipt of an IFA_LOCAL attribute. > > This patch adds the same special treatment logic of IFA_LOCAL to musl's > implementation of getifaddrs() in order to align its behaviour with that > of uclibc and musl. ^^^^ glibc Committed, fixing this and line folding in the commit message; otherwise, unchanged. Thanks! Rich
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.