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/wireguard.js | 5 ----- 1 file changed, 5 deletions(-) (limited to 'protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js') diff --git a/protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js b/protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js index 4690ecfc7f..dd933c9544 100644 --- a/protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js +++ b/protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js @@ -89,11 +89,6 @@ return network.registerProtocol('wireguard', { // -- advanced -------------------------------------------------------------------- - o = s.taboption('advanced', form.Value, 'metric', _('Metric'), _('Optional')); - o.datatype = 'uinteger'; - o.placeholder = '0'; - o.optional = true; - o = s.taboption('advanced', form.Value, 'mtu', _('MTU'), _('Optional. Maximum Transmission Unit of tunnel interface.')); o.datatype = 'range(1280,1420)'; o.placeholder = '1420'; -- cgit v1.2.3