treewide: remove rendundant proto handler options
[project/luci.git] / protocols / luci-proto-ipv6 / htdocs / luci-static / resources / protocol / map.js
index 5c292af619d36a71a78272a2e4a9d4a53684775a..82e016921030904e085f7143f5a93a35c40e6f36 100644 (file)
@@ -77,14 +77,6 @@ return network.registerProtocol('map', {
                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, 'ttl', _('Use TTL on tunnel interface'));
                o.placeholder = '64';
                o.datatype    = 'range(1,255)';