Commit bc3c914a authored by Dietmar Maurer's avatar Dietmar Maurer

fix bug #8: correctly use macaddr instead of mac

parent 6e9293ab
...@@ -15,7 +15,7 @@ Ext.define('PVE.qemu.NetworkInputPanel', { ...@@ -15,7 +15,7 @@ Ext.define('PVE.qemu.NetworkInputPanel', {
} else { } else {
me.network.bridge = undefined; me.network.bridge = undefined;
} }
me.network.mac = values.mac; me.network.macaddr = values.macaddr;
if (values.rate) { if (values.rate) {
me.network.rate = values.rate; me.network.rate = values.rate;
...@@ -115,7 +115,7 @@ Ext.define('PVE.qemu.NetworkInputPanel', { ...@@ -115,7 +115,7 @@ Ext.define('PVE.qemu.NetworkInputPanel', {
}, },
{ {
xtype: 'textfield', xtype: 'textfield',
name: 'mac', name: 'macaddr',
fieldLabel: 'MAC address', fieldLabel: 'MAC address',
vtype: 'MacAddress', vtype: 'MacAddress',
allowBlank: true, allowBlank: true,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment