Re: Refine IPv6 source address selection

2020-08-24 Thread Florian Obser
On Mon, Aug 24, 2020 at 07:06:26PM +0200, Denis Fondras wrote: > On Mon, Aug 24, 2020 at 06:42:02PM +0200, Florian Obser wrote: > > To clarify, this is independent of my recent work in > > in6_ifawithscope(), -ifa did not work with the old code, either. > > > > Of course ! Sorry if my message led

Re: Refine IPv6 source address selection

2020-08-24 Thread Denis Fondras
On Mon, Aug 24, 2020 at 06:42:02PM +0200, Florian Obser wrote: > To clarify, this is independent of my recent work in > in6_ifawithscope(), -ifa did not work with the old code, either. > Of course ! Sorry if my message led to think you were responsible for it.

Re: Refine IPv6 source address selection

2020-08-24 Thread Florian Obser
On Mon, Aug 24, 2020 at 05:34:09PM +0200, Denis Fondras wrote: > While working on source selection, I noticed the IPv6 source was not honored > when set from route(8) with -ifa. > > After discussing with florian@, here is a proposed change. It chooses the > source > address associated with the ro

Refine IPv6 source address selection

2020-08-24 Thread Denis Fondras
While working on source selection, I noticed the IPv6 source was not honored when set from route(8) with -ifa. After discussing with florian@, here is a proposed change. It chooses the source address associated with the route (hence honoring -ifa) instead of the first address of the output interfa