mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-27 02:56:01 +01:00
Merge pull request #1240 from MihaelaStoica/CA-220475
CA-220475: [PAR-173] XenCenter fails when updating network MTU with V…
This commit is contained in:
commit
e36eea4a8e
@ -568,7 +568,7 @@ namespace XenAdmin.SettingsPanels
|
||||
if (network.PIFs.Count == 0)
|
||||
return false;
|
||||
|
||||
PIF pif = network.Connection.Resolve<PIF>(network.PIFs[0]);
|
||||
PIF pif = GetNetworksPIF();
|
||||
PIF selectedPif = NICNameToVirtualPIF((string)HostPNICList.SelectedItem, (long)numUpDownVLAN.Value);
|
||||
return pif != null && Editable(pif) && pif != selectedPif;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user