Do not check firewall rules if the firewall is disabled

This commit is contained in:
Tim Young 2018-10-23 08:01:43 -05:00
parent c8c66970d0
commit 2b92fea4cb

View File

@ -3375,6 +3375,7 @@ namespace EduNetworkBuilder
public bool FirewallAllows(string inIF, string outIF)
{
if (!HasAdvFirewall) return true;
foreach(FirewallRule fwr in FirewallRules)
{
if(fwr.Source == inIF && fwr.Destination == outIF)