mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2025-01-20 07:19:18 +01:00
Merge pull request #62 from MihaelaStoica/CA-109242
CA-109242: When a network has no PIF on a host, don't list it in that ho...
This commit is contained in:
commit
c487f32189
@ -341,7 +341,8 @@ namespace XenAdmin.Controls.NetworkingTab
|
||||
List<NetworkRow> networkRowsToAdd = new List<NetworkRow>();
|
||||
for (int i = 0; i < networks.Length; i++)
|
||||
{
|
||||
if (!networks[i].Show(XenAdmin.Properties.Settings.Default.ShowHiddenVMs))
|
||||
if (!networks[i].Show(XenAdmin.Properties.Settings.Default.ShowHiddenVMs) ||
|
||||
Helpers.FindPIF(networks[i], XenObject as Host) == null)
|
||||
continue;
|
||||
networkRowsToAdd.Add(new NetworkRow(networks[i], XenObject));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user