Hi Max, On Wed, Dec 08, 2004 at 09:06:58PM +0100, Max Laier wrote: > Any reason you didn't include the following (also part > of OpenBSD rev. 1.47)?: > I developed it independently of OpenBSD, and only later found that OpenBSD also had it, so I missed this part. It's indeed needed.
> | /* > | * make sure to set rt->rt_ifa to the interface > | * address we are using, otherwise we will have trouble > | * with source address selection. > | */ > | ifa = &ia->ia_ifa; > | if (ifa != rt->rt_ifa) { > | IFAFREE(rt->rt_ifa); > | ifa->ifa_refcnt++; > | rt->rt_ifa = ifa; > | } > > > Updated diff attached. Not sure if it makes any difference? > Of course it does. Without it, "ping <alias>" comes from the main address, where it should come from <alias>. Reviewed. Please commit. Cheers, -- Ruslan Ermilov [EMAIL PROTECTED] FreeBSD committer
pgpWGB1gq1ZhI.pgp
Description: PGP signature