treewide: remove rendundant proto handler options
[project/luci.git] / protocols / luci-proto-ipv6 / htdocs / luci-static / resources / protocol / 464xlat.js
index a74708fd012dcc0fdea975fc64c4c3ca0a5fad1a..9cfdadd9a6dd7f48ac1fd8ff15f6d3f34395bfa1 100644 (file)
@@ -45,14 +45,6 @@ return network.registerProtocol('464xlat', {
                o.nocreate = true;
                o.exclude  = s.section;
 
-               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, 'mtu', _('Use MTU on tunnel interface'));
                o.placeholder = '1280';
                o.datatype    = 'max(9200)';