mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-05-15 10:41:08 +00:00
fix #2703: networkedit: limit custom interface name field to 15 characters.
Linux kernel don't allow interfaces name with more than 15 characters Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
This commit is contained in:
parent
34edc91701
commit
60ed17bf96
@ -246,6 +246,7 @@ Ext.define('Proxmox.node.NetworkEdit', {
|
|||||||
value: me.iface,
|
value: me.iface,
|
||||||
vtype: iface_vtype,
|
vtype: iface_vtype,
|
||||||
allowBlank: false,
|
allowBlank: false,
|
||||||
|
maxLength: 15,
|
||||||
autoEl: {
|
autoEl: {
|
||||||
tag: 'div',
|
tag: 'div',
|
||||||
'data-qtip': gettext('For example, vmbr0.100, vmbr0, vlan0.100, vlan0'),
|
'data-qtip': gettext('For example, vmbr0.100, vmbr0, vlan0.100, vlan0'),
|
||||||
|
Loading…
Reference in New Issue
Block a user