cvs commit: src/usr.sbin/ipfwpcap ipfwpcap.c

Christian S.J. Peron csjp at FreeBSD.org
Fri Oct 12 07:57:39 PDT 2007


csjp        2007-10-12 14:57:39 UTC

  FreeBSD src repository

  Modified files:
    usr.sbin/ipfwpcap    ipfwpcap.c 
  Log:
  Add a signal handler for SIGINT to make sure that the PID file
  gets cleaned up upon receiving SIGINT.  This un-breaks subsequent
  executions of ipfwpcap and helps when debugging network/divert
  issues like this:
  
  ipfwpcap -r 6000 - | tcpdump -r -
  
  MFC after:      1 week
  
  Revision  Changes    Path
  1.3       +1 -0      src/usr.sbin/ipfwpcap/ipfwpcap.c


More information about the cvs-src mailing list