Date: Fri, 12 Oct 2007 14:57:39 +0000 (UTC) From: "Christian S.J. Peron" <csjp@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/ipfwpcap ipfwpcap.c Message-ID: <200710121457.l9CEvdQI052731@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200710121457.l9CEvdQI052731>
