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:
Gabor Apati-Nagy 2016-10-26 16:15:43 +01:00 committed by GitHub
commit e36eea4a8e

View File

@ -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;
}