wireguard: introduce 'nohostroute' option
authorDaniel Golle <daniel@makrotopia.org>
Wed, 27 Mar 2019 21:59:03 +0000 (22:59 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Wed, 27 Mar 2019 21:59:03 +0000 (22:59 +0100)
commit28920330f86d628a287f00f2596f4aaead8e2e19
treef27da691e65fcd14f04439df2628aa28cd3682f4
parent7204736076b277977388ad43cd69f221a377ed7e
wireguard: introduce 'nohostroute' option

Instead of creating host-routes depending on fwmark as (accidentally)
pushed by commit
1e8bb50b93 ("wireguard: do not add host-dependencies if fwmark is set")
use a new config option 'nohostroute' to explicitely prevent creation
of the route to the endpoint.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
package/network/services/wireguard/files/wireguard.sh