Re: [Openvpn-devel] [PATCH v2] Use lowest metric interface when multiple interfaces match a route

2017-12-06 Thread Selva Nair
On Wed, Dec 6, 2017 at 8:28 AM, Илья Шипицин wrote: > > > 2017-11-06 6:14 GMT+05:00 : >> >> .. >> +/** >> + * Given an interface index return the interface metric. >> + * >> + * Arguments: >> + * index : The index of the interface >> + *

Re: [Openvpn-devel] [PATCH v2] Use lowest metric interface when multiple interfaces match a route

2017-12-06 Thread Илья Шипицин
2017-11-06 6:14 GMT+05:00 : > From: Selva Nair > > Currently a route addition using IPAPI or service is skipped if the > route gateway is reachable by multiple interfaces. This changes that > to use the interface with lowest metric. Implemented by > >

[Openvpn-devel] [PATCH v2] Use lowest metric interface when multiple interfaces match a route

2017-11-05 Thread selva . nair
From: Selva Nair Currently a route addition using IPAPI or service is skipped if the route gateway is reachable by multiple interfaces. This changes that to use the interface with lowest metric. Implemented by (i) Do not over-write the return value with