Don't crash when adding a NIC to a PC/server (Justin)
This commit is contained in:
parent
fa163b3d21
commit
2ae5781bea
@ -357,7 +357,7 @@ namespace EduNetworkBuilder
|
||||
tnic = ndCLonedItem.AddNic(WhatToAdd[cbQuestions.SelectedIndex]);
|
||||
}
|
||||
}
|
||||
if(tnet != null)
|
||||
if(tnet != null && tnic != null)
|
||||
tnet.RegisterNICAdded(ndCLonedItem.hostname, tnic.NicName());
|
||||
}
|
||||
UpdateForm();
|
||||
|
Loading…
Reference in New Issue
Block a user