treewide: remove rendundant proto handler options
[project/luci.git] / modules / luci-base / htdocs / luci-static / resources / protocol / dhcp.js
index bacbf559f9ef334e516b24b76369d752b8c22573..9a63a107cf511ff7beb07f1c04f72a29bb1fb1b9 100644 (file)
@@ -34,21 +34,6 @@ return network.registerProtocol('dhcp', {
                o = s.taboption('advanced', form.Flag, 'broadcast', _('Use broadcast flag'), _('Required for certain ISPs, e.g. Charter with DOCSIS 3'));
                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, 'clientid', _('Client ID to send when requesting DHCP'));
                o.datatype  = 'hexstring';