Date: Sun, 8 Feb 2004 13:59:17 -0800 (PST) From: Ian Dowse <iedowse@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/ping ping.c Message-ID: <200402082159.i18LxHYu082733@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
iedowse 2004/02/08 13:59:17 PST FreeBSD src repository Modified files: sbin/ping ping.c Log: Certain ICMP error replies cause ping to perform a reverse DNS lookup on an IP address from the packet (such as the IP that sent a TTL exceeded error). If the DNS lookup takes a long time, ^C will appear to be ineffective since the SIGINT handler just sets a flag and returns. Work around this by exiting immediately on receipt of a second SIGINT when DNS lookups are enabled. PR: bin/4696 MFC after: 1 week Revision Changes Path 1.102 +6 -0 src/sbin/ping/ping.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200402082159.i18LxHYu082733>