mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 10:18:21 -05:00
tests: remote: monitor use execute_stop()
Stop the single thread instead of killing all monitor apps. Signed-off-by: Janusz Dziedzic <janusz.dziedzic@gmail.com>
This commit is contained in:
parent
14d28a655a
commit
adf6cfb0ab
@ -107,10 +107,7 @@ def stop(host):
|
||||
if host.thread is None:
|
||||
return
|
||||
|
||||
host.execute(["killall", "-s", "INT", "tshark"])
|
||||
host.wait_execute_complete(host.thread, 5)
|
||||
if host.thread.isAlive():
|
||||
raise Exception("tshark still alive")
|
||||
host.execute_stop(host.thread)
|
||||
host.thread = None
|
||||
|
||||
# Add monitor to existing interface
|
||||
|
Loading…
Reference in New Issue
Block a user