[pve-devel] [PATCH V2 proxmox-widget-toolkit 2/2] networkedit: add mtu field
Alexandre Derumier
aderumier at odiso.com
Fri Jan 10 03:55:09 CET 2020
Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
---
node/NetworkEdit.js | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/node/NetworkEdit.js b/node/NetworkEdit.js
index ca0011f..ce7e7ae 100644
--- a/node/NetworkEdit.js
+++ b/node/NetworkEdit.js
@@ -250,6 +250,14 @@ Ext.define('Proxmox.node.NetworkEdit', {
fieldLabel: gettext('Gateway') + ' (IPv6)',
vtype: 'IP6Address',
name: 'gateway6'
+ },
+ {
+ xtype: 'proxmoxintegerfield',
+ minValue: 1280,
+ maxValue: 65520,
+ deleteEmpty: !me.isCreate,
+ fieldLabel: 'MTU',
+ name: 'mtu'
}
);
}
--
2.20.1
More information about the pve-devel
mailing list