summaryrefslogtreecommitdiffhomepage
path: root/protocols/luci-proto-pppossh/htdocs/luci-static/resources/protocol/pppossh.js
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-pppossh/htdocs/luci-static/resources/protocol/pppossh.js
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-pppossh/htdocs/luci-static/resources/protocol/pppossh.js')
-rw-r--r--protocols/luci-proto-pppossh/htdocs/luci-static/resources/protocol/pppossh.js15
1 files changed, 0 insertions, 15 deletions
diff --git a/protocols/luci-proto-pppossh/htdocs/luci-static/resources/protocol/pppossh.js b/protocols/luci-proto-pppossh/htdocs/luci-static/resources/protocol/pppossh.js
index ec8e8a152e..3c233f1e1b 100644
--- a/protocols/luci-proto-pppossh/htdocs/luci-static/resources/protocol/pppossh.js
+++ b/protocols/luci-proto-pppossh/htdocs/luci-static/resources/protocol/pppossh.js
@@ -94,21 +94,6 @@ return network.registerProtocol('pppossh', {
o.default = o.disabled;
}
- 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.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.cast = 'string';
-
- o = s.taboption('advanced', form.Value, 'metric', _('Use gateway metric'));
- o.placeholder = '0';
- o.datatype = 'uinteger';
-
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';