Browse Source

use new get_avg_delay_distributions in MembersMgmt

Jens Keim 4 years ago
parent
commit
8ab4e8eab0
2 changed files with 2 additions and 2 deletions
  1. 1 1
      code/Attack/MembersMgmtCommAttack.py
  2. 1 1
      code/Test/test_MembersMgmtCommAttack.py

+ 1 - 1
code/Attack/MembersMgmtCommAttack.py

@@ -562,7 +562,7 @@ class MembersMgmtCommAttack(BaseAttack.BaseAttack):
         zero_reference = self.get_param_value(Param.INJECT_AT_TIMESTAMP) - messages[0].time
 
         # calculate the average delay values for local and external responses
-        avg_delay_local, avg_delay_external = self.statistics.get_avg_delay_distributions()
+        avg_delay_local, avg_delay_external = self.statistics.get_avg_delay_distributions(False)
 
         # set timestamps
         assign_realistic_timestamps(messages, external_ids, local_ids, avg_delay_local, avg_delay_external,

+ 1 - 1
code/Test/test_MembersMgmtCommAttack.py

@@ -1,7 +1,7 @@
 import Test.ID2TAttackTest as Test
 import ID2TLib.Utility as Util
 
-sha_default = 'a62f355d0e43c9072ac26a03134fffbf113b1aa02f086456a609b93b54243a50'
+sha_default = '10080a8fcbee78a2fa58e394ca753ce547822a0a7e8f8f8903abb80ba29c5ae5'
 
 
 class UnitTestMembersMgmtCommAttack(Test.ID2TAttackTest):