Add listener readiness check in runtest.sh

This commit is contained in:
Yaro Kasear 2025-05-02 14:41:50 -05:00
parent 4beafbe674
commit 3cdcadcb6d
2 changed files with 10 additions and 1 deletions

View file

@ -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)