Projects STRLCPY PCredz Commits c8bca9d3
🤬
  • ■ ■ ■ ■ ■
    Pcredz
    skipped 654 lines
    655 655   print Message
    656 656   l.warning(Message)
    657 657   while 1:
    658  - p.dispatch(1, Print_Packet_Tcpdump)
     658 + thread = Thread(target = loop_packets, args = (p, Print_Packet_Tcpdump))
     659 + thread.daemon=True
     660 + thread.start()
     661 + try:
     662 + while thread.is_alive():
     663 + thread.join(timeout=1)
     664 + except:
     665 + raise
    659 666   except (KeyboardInterrupt, SystemExit):
    660 667   print '\n\nCRTL-C hit...\nCleaning up...'
    661 668   sys.exit()
    skipped 90 lines
Please wait...
Page is in error, reload to recover