mirror of
https://github.com/openwrt/luci.git
synced 2026-04-15 10:51:51 +00:00
luci-proto-openfortivpn: add default route, remove disabled, update text
Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
This commit is contained in:
@@ -61,7 +61,11 @@ return network.registerProtocol('openfortivpn', {
|
||||
o.datatype = 'and(hexstring,length(64))'
|
||||
o.optional = true;
|
||||
|
||||
o = s.taboption('advanced', form.Flag, 'peerdns', _('Use DNS server provided by VPN'));
|
||||
o = s.taboption('advanced', form.Flag, 'defaultroute', _('Use default gateway'), _('If unchecked, no default route is configured'));
|
||||
o.default = o.enabled;
|
||||
o.optional = true;
|
||||
|
||||
o = s.taboption('advanced', form.Flag, 'peerdns', _('Use DNS servers advertised by peer'), _('If unchecked, the advertised DNS server addresses are ignored'));
|
||||
o.default = o.enabled;
|
||||
o.optional = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user