summaryrefslogtreecommitdiffhomepage
path: root/protocols/luci-proto-3g/htdocs
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2021-03-18 17:27:31 +0100
committerGitHub <noreply@github.com>2021-03-18 17:27:31 +0100
commit4cde2bda732b133d0ea46cecd94f57c3b1eeab05 (patch)
tree270ee49c890cd4e77689a8e315358aca83903f0f /protocols/luci-proto-3g/htdocs
parent1dc16d9d3ffeee30d072c569e9a3c693d303e9fc (diff)
parentbbf1a5343f1d930096cd5ff6b98f3e1f2f0d3c9a (diff)
Merge pull request #4307 from jow-/uci-network-device-support
Introduce support for managing `config device` and `config bridge-vlan` sections
Diffstat (limited to 'protocols/luci-proto-3g/htdocs')
-rw-r--r--protocols/luci-proto-3g/htdocs/luci-static/resources/protocol/3g.js15
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';