From 7246e57b5d57e22ccaee863baa6e622d43645657 Mon Sep 17 00:00:00 2001 From: Tim Young Date: Tue, 15 Nov 2016 13:06:19 -0800 Subject: [PATCH] Remove firewall checkmark from devices that do not have firewall capability. --- EduNetworkBuilder/DeviceConfig.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/EduNetworkBuilder/DeviceConfig.cs b/EduNetworkBuilder/DeviceConfig.cs index d5bef25..e2423d8 100644 --- a/EduNetworkBuilder/DeviceConfig.cs +++ b/EduNetworkBuilder/DeviceConfig.cs @@ -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;