diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-08-06 20:58:35 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2021-03-15 11:41:44 +0100 |
commit | 171ef77e8985ffd90eb66b8a0a3cd74beb37ccdc (patch) | |
tree | 0540f0e6fcba736ac234d5451bb3158c133b7a98 /protocols/luci-proto-openconnect/htdocs/luci-static | |
parent | eeef38d53412a78f185f0bb53153ecb3fe9e8838 (diff) |
treewide: remove rendundant proto handler options
The introduction of network device configuration support also implemented
all common, protocol-independent interface options directly in the
interface config view, so drop the redundant option definitions.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'protocols/luci-proto-openconnect/htdocs/luci-static')
-rw-r--r-- | protocols/luci-proto-openconnect/htdocs/luci-static/resources/protocol/openconnect.js | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/protocols/luci-proto-openconnect/htdocs/luci-static/resources/protocol/openconnect.js b/protocols/luci-proto-openconnect/htdocs/luci-static/resources/protocol/openconnect.js index 388812d893..2c29614aee 100644 --- a/protocols/luci-proto-openconnect/htdocs/luci-static/resources/protocol/openconnect.js +++ b/protocols/luci-proto-openconnect/htdocs/luci-static/resources/protocol/openconnect.js @@ -153,14 +153,6 @@ return network.registerProtocol('openconnect', { return callSetCertificateFiles(section_id, null, null, sanitizeCert(value)); }; - o = s.taboption('advanced', form.Flag, 'defaultroute', _('Default gateway'), _('If unchecked, no default route is configured')); - o.default = o.enabled; - - o = s.taboption('advanced', form.Value, 'metric', _('Use gateway metric')); - o.placeholder = '0'; - o.datatype = 'uinteger'; - o.depends('defaultroute', '1'); - o = s.taboption('advanced', form.Value, 'mtu', _('Override MTU')); o.optional = true; o.placeholder = 1406; |