Browse Source

Return None as filepath if no packets were injected

dustin.born 6 years ago
parent
commit
95a65b2200
1 changed files with 1 additions and 1 deletions
  1. 1 1
      code/Attack/MembersMgmtCommAttack.py

+ 1 - 1
code/Attack/MembersMgmtCommAttack.py

@@ -187,7 +187,7 @@ class MembersMgmtCommAttack(BaseAttack.BaseAttack):
         messages = self._create_messages()
         messages = self._create_messages()
 
 
         if messages == []:
         if messages == []:
-            return 0, []
+            return 0, None
 
 
         # Setup (initial) parameters for packet creation loop
         # Setup (initial) parameters for packet creation loop
         BUFFER_SIZE = 1000
         BUFFER_SIZE = 1000