treewide: remove rendundant proto handler options
[project/luci.git] / protocols / luci-proto-ipv6 / htdocs / luci-static / resources / protocol / 6rd.js
index 6a8f506bc90cc67abb53e536caa2fb68086f7fd3..415c3a89e795e9c04350ec7c344c99f44f5e8692 100644 (file)
@@ -62,14 +62,6 @@ return network.registerProtocol('6rd', {
                o.placeholder = '0';
                o.datatype    = 'range(0,32)';
 
-               o = s.taboption('advanced', form.Flag, 'defaultroute', _('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.Value, 'ttl', _('Use TTL on tunnel interface'));
                o.placeholder = '64';
                o.datatype    = 'range(1,255)';