Remove firewall checkmark from devices that do not have firewall capability.

This commit is contained in:
Tim Young 2016-11-15 13:06:19 -08:00
parent 4edf8ced20
commit 7246e57b5d

View File

@ -77,6 +77,10 @@ namespace EduNetworkBuilder
{
NetworkDevice ndCLonedItem = (NetworkDevice)ClonedItem;
if (ndCLonedItem.DoesFirewall())
cbFirewall.Visible = true;
else
cbFirewall.Visible = false;
bool nicLocked = false;
bool interfacesLocked = false;