Add listener readiness check in runtest.sh
This commit is contained in:
parent
4beafbe674
commit
3cdcadcb6d
2 changed files with 10 additions and 1 deletions
|
@ -303,6 +303,8 @@ def main():
|
|||
hopper_thread = threading.Thread(target=channel_hopper, args=(args.monitor_iface,))
|
||||
hopper_thread.daemon = True
|
||||
hopper_thread.start()
|
||||
|
||||
print("LISTENING_STARTED", flush=True)
|
||||
|
||||
while running:
|
||||
sniff(iface=args.monitor_iface, prn=handle_packet, store=False, timeout=5)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue