mirror of
https://github.com/openwrt/luci.git
synced 2026-05-31 10:31:55 +08:00
Merge pull request #3615 from vfreex/add-wireguard-nohostroute
wireguard: add checkbox for `nohostroute` option
This commit is contained in:
@@ -60,6 +60,8 @@ return network.registerProtocol('wireguard', {
|
||||
o.datatype = 'ipaddr';
|
||||
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 --------------------------------------------------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user