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-ipv6/htdocs/luci-static/resources/protocol/dslite.js | |
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-ipv6/htdocs/luci-static/resources/protocol/dslite.js')
-rw-r--r-- | protocols/luci-proto-ipv6/htdocs/luci-static/resources/protocol/dslite.js | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/protocols/luci-proto-ipv6/htdocs/luci-static/resources/protocol/dslite.js b/protocols/luci-proto-ipv6/htdocs/luci-static/resources/protocol/dslite.js index fa0e68ddc3..5f1fbf4f7a 100644 --- a/protocols/luci-proto-ipv6/htdocs/luci-static/resources/protocol/dslite.js +++ b/protocols/luci-proto-ipv6/htdocs/luci-static/resources/protocol/dslite.js @@ -64,14 +64,6 @@ return network.registerProtocol('dslite', { for (var i = 0; i < 256; i++) o.value(i); - 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', _('Use MTU on tunnel interface')); o.placeholder = '1280'; o.datatype = 'max(9200)'; |