From 171ef77e8985ffd90eb66b8a0a3cd74beb37ccdc Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 6 Aug 2020 20:58:35 +0200 Subject: 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 --- .../htdocs/luci-static/resources/protocol/openconnect.js | 8 -------- 1 file changed, 8 deletions(-) (limited to 'protocols/luci-proto-openconnect/htdocs/luci-static') 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; -- cgit v1.2.3