Skip to content
  • Mike Hibler's avatar
    What a hoot. The Linux (at least Fedora) version of libpcap · fb2aa805
    Mike Hibler authored
    will not timeout in the dispatch routine.  It apparently will stay
    in recvfrom() til it gets a packet.  This caused stop/snapshot events
    (as well as "kill -TERM") to not do anything.
    
    So we blast all the pthreads out of recvfrom with a signal after setting
    the flag to force them to return from dispatch (pcap_breakloop).
    fb2aa805