浏览代码

pass do_extra_tests to Statistics object

aidmar.wainakh 6 年之前
父节点
当前提交
29d884e201
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      code/ID2TLib/Controller.py

+ 1 - 0
code/ID2TLib/Controller.py

@@ -24,6 +24,7 @@ class Controller:
         self.pcap_file = PcapFile(self.pcap_src_path)
         self.label_manager = LabelManager(self.pcap_src_path)
         self.statistics = Statistics(self.pcap_file)
+        self.statistics.do_extra_tests = self.do_extra_tests
         self.statisticsDB = self.statistics.get_statistics_database()
         self.attack_controller = AttackController(self.pcap_file, self.statistics, self.label_manager)