MacPrefix: add note about unicast addr. to MacPrefixText

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2019-03-14 10:12:47 +01:00
parent add18fadb5
commit ffe265051c

View File

@ -57,7 +57,7 @@ Ext.apply(Ext.form.field.VTypes, {
return (/^[a-f0-9][02468ace](?::[a-f0-9]{2}){0,2}:?$/i).test(v);
},
MacPrefixMask: /[a-fA-F0-9:]/,
MacPrefixText: gettext('Example') + ': 02:8f',
MacPrefixText: gettext('Example') + ': 02:8f - ' + gettext('only unicast addresses are allowed'),
BridgeName: function(v) {
return (/^vmbr\d{1,4}$/).test(v);