Re: [LEDE-DEV] [PATCH] wireguard: add distinction for remote and local endpoint ip

2018-04-30 Thread John Crispin
On 19/02/18 19:54, Thomas Huehn wrote: This patch fixes a bug when someone tries to set up a Wireguard tunnel to an endpoint where its ip belongs to a local subnet, e.g. in a Freifunk olsr mesh. The call of proto_add_host_dependency() is just needed in cases where the endpoint is reachable via

[LEDE-DEV] [PATCH] wireguard: add distinction for remote and local endpoint ip

2018-02-19 Thread Thomas Huehn
This patch fixes a bug when someone tries to set up a Wireguard tunnel to an endpoint where its ip belongs to a local subnet, e.g. in a Freifunk olsr mesh. The call of proto_add_host_dependency() is just needed in cases where the endpoint is reachable via a default gateway but not in such cases