Re: [PATCH net-next 05/18] ipv4: Prepare fib_config for IPv6 gateway

2019-04-05 Thread Ido Schimmel
On Thu, Apr 04, 2019 at 10:49:54AM -0700, David Ahern wrote: > From: David Ahern > > Similar to rtable, fib_config needs to allow the gateway to be either an > IPv4 or an IPv6 address. To that end, rename fc_gw to fc_gw4 to mean an > IPv4 address and add fc_gw_family. Check on 'is a gateway set'

[PATCH net-next 05/18] ipv4: Prepare fib_config for IPv6 gateway

2019-04-04 Thread David Ahern
From: David Ahern Similar to rtable, fib_config needs to allow the gateway to be either an IPv4 or an IPv6 address. To that end, rename fc_gw to fc_gw4 to mean an IPv4 address and add fc_gw_family. Check on 'is a gateway set' are changed to see if fc_gw_family is set. In the process prepare the c