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-wireguard/htdocs/luci-static/resources | |
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-wireguard/htdocs/luci-static/resources')
-rw-r--r-- | protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js | 5 |
1 files changed, 0 insertions, 5 deletions
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'; |