treewide: remove rendundant proto handler options
[project/luci.git] / protocols / luci-proto-wireguard / htdocs / luci-static / resources / protocol / wireguard.js
index 4690ecfc7ffa1f6226366c5635a8044e1bf08cce..dd933c95447e63c19b23f4182d8bf81791f39616 100644 (file)
@@ -89,11 +89,6 @@ return network.registerProtocol('wireguard', {
 
                // -- advanced --------------------------------------------------------------------
 
-               o = s.taboption('advanced', form.Value, 'metric', _('Metric'), _('Optional'));
-               o.datatype = 'uinteger';
-               o.placeholder = '0';
-               o.optional = true;
-
                o = s.taboption('advanced', form.Value, 'mtu', _('MTU'), _('Optional. Maximum Transmission Unit of tunnel interface.'));
                o.datatype = 'range(1280,1420)';
                o.placeholder = '1420';