On 10 April 2014 16:16, Martin Pieuchot <[email protected]> wrote: > Here's a diff to stop dealing with AF_LINK addresses in ifa_ifwithnet(9). > ^^^ > The only place where such thing happens is when ifa_ifwithroute() do its > magic to find an address for a route. So in this case, it does the check > directly and get the corresponding ifa. > > ifa_ifwithnet(9) is mostly used by the routine code to find an appropriate > address, hopefully with might get rid of it. But for the moment I'd > like to remove the AF_LINK case because it is unintuitive and does not > iterate on the global list of interfaces. > > While here, rename a rdomain -> rtableid, this is what you want! > > As a bonus, this diff comes with a manual. > > ok? >
i'm not sure it warrants a man page, but i'm OK with code changes.
