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-3g/htdocs/luci-static/resources/protocol/3g.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-3g/htdocs/luci-static/resources/protocol/3g.js')
-rw-r--r-- | protocols/luci-proto-3g/htdocs/luci-static/resources/protocol/3g.js | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/protocols/luci-proto-3g/htdocs/luci-static/resources/protocol/3g.js b/protocols/luci-proto-3g/htdocs/luci-static/resources/protocol/3g.js index 07bed36c23..12acb74d9f 100644 --- a/protocols/luci-proto-3g/htdocs/luci-static/resources/protocol/3g.js +++ b/protocols/luci-proto-3g/htdocs/luci-static/resources/protocol/3g.js @@ -113,21 +113,6 @@ return network.registerProtocol('3g', { o.placeholder = '10'; o.datatype = 'min(1)'; - o = s.taboption('advanced', form.Flag, 'defaultroute', _('Use 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.Flag, 'peerdns', _('Use DNS servers advertised by peer'), _('If unchecked, the advertised DNS server addresses are ignored')); - o.default = o.enabled; - - o = s.taboption('advanced', form.DynamicList, 'dns', _('Use custom DNS servers')); - o.depends('peerdns', '0'); - o.datatype = 'ipaddr'; - o = s.taboption('advanced', form.Value, '_keepalive_failure', _('LCP echo failure threshold'), _('Presume peer to be dead after given amount of LCP echo failures, use 0 to ignore failures')); o.placeholder = '0'; o.datatype = 'uinteger'; |