Do not check firewall rules if the firewall is disabled
This commit is contained in:
parent
c8c66970d0
commit
2b92fea4cb
@ -3375,6 +3375,7 @@ namespace EduNetworkBuilder
|
|||||||
|
|
||||||
public bool FirewallAllows(string inIF, string outIF)
|
public bool FirewallAllows(string inIF, string outIF)
|
||||||
{
|
{
|
||||||
|
if (!HasAdvFirewall) return true;
|
||||||
foreach(FirewallRule fwr in FirewallRules)
|
foreach(FirewallRule fwr in FirewallRules)
|
||||||
{
|
{
|
||||||
if(fwr.Source == inIF && fwr.Destination == outIF)
|
if(fwr.Source == inIF && fwr.Destination == outIF)
|
||||||
|
Loading…
Reference in New Issue
Block a user