Skip to content

Commit 9483758

Browse files
committed
fix bug with create config files
1 parent 58d2494 commit 9483758

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

FortinetMigration/FortiGateConverter.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -330,14 +330,11 @@ public void ExportManagmentReport(bool optimazed)
330330
NewFortigateAnalizStatistic._totalServicesRulesOptCount = optimazed_count;
331331

332332
}
333-
if(_cpPackages.Count > 0)
334-
{
335333
this.OptimizationPotential = RulesInConvertedPackage() > 0 ? ((RulesInConvertedPackage() - RulesInConvertedOptimizedPackage()) * 100 / (float)RulesInConvertedPackage()) : 0;
336334
NewFortigateAnalizStatistic.CalculateCorrectAll(_cpNetworks, _cpNetworkGroups, _cpHosts, _cpRanges, _cpTcpServices, _cpUdpServices, _cpSctpServices, _cpIcmpServices, _cpDceRpcServices, _cpOtherServices, _cpServiceGroups);
337335
ExportManagmentReport();
338336
OptimizationPotential = -1;
339337
TotalRules += NewFortigateAnalizStatistic._totalServicesRulesCount;
340-
}
341338

342339
}
343340
}

0 commit comments

Comments
 (0)