Browse Source

Fix setting debug output level

Mathy Vanhoef 4 years ago
parent
commit
a08f1bf274
1 changed files with 1 additions and 1 deletions
  1. 1 1
      krackattack/krack-test-client.py

+ 1 - 1
krackattack/krack-test-client.py

@@ -620,7 +620,7 @@ if __name__ == "__main__":
 	# Parse remaining options
 	options.gtkinit = argv_pop_argument("--gtkinit")
 	while argv_pop_argument("--debug"):
-		libwifi.global_log_level -= 1
+		change_log_level(-1)
 
 	# Now start the tests
 	attack = KRAckAttackClient()