treewide: remove rendundant proto handler options
[project/luci.git] / protocols / luci-proto-pppossh / htdocs / luci-static / resources / protocol / pppossh.js
index ec8e8a152eb369d121d2366f75db6319287382d1..3c233f1e1bd35750b47d46b94a6395d57fe46f98 100644 (file)
@@ -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';