Merge pull request #3615 from vfreex/add-wireguard-nohostroute

wireguard: add checkbox for `nohostroute` option
This commit is contained in:
Jo-Philipp Wich 2020-02-08 19:13:19 +01:00 committed by GitHub
commit 2c2cfaebf1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -60,6 +60,8 @@ return network.registerProtocol('wireguard', {
o.datatype = 'ipaddr'; o.datatype = 'ipaddr';
o.optional = true; o.optional = true;
o = s.taboption('general', form.Flag, 'nohostroute', _('No Host Routes'), _('Optional. Do not create host routes to peers.'));
o.optional = true;
// -- advanced -------------------------------------------------------------------- // -- advanced --------------------------------------------------------------------