Re: [Openvpn-devel] [PATCH v4] route.c: use sitnl to implement get_default_gateway_ipv6()

2019-07-15 Thread Antonio Quartulli
Hi, On 14/07/2019 22:02, Gert Doering wrote: > It *must not* set the ON_LINK flag for routes that are behind a gatway > ("route to gateway" vs. "route to interface"), but it still does. > [SKIP SKIP] > > as you can see, it now insists on "everything is ON_LINK". > interesting to note that

Re: [Openvpn-devel] [PATCH v4] route.c: use sitnl to implement get_default_gateway_ipv6()

2019-07-14 Thread Gert Doering
Hi, On Tue, Jul 09, 2019 at 12:48:06AM +0200, Antonio Quartulli wrote: > > Changes from v1: > - use IN6_IS_ADDR_UNSPECIFIED to check if GW address is specified. This fixes > the issue of never setting the ON_LINK flag for IPv6 routes Something is still not working correctly. It *must not*