cvs commit: src/sbin/ping ping.c
Ian Dowse
iedowse at FreeBSD.org
Sun Feb 8 13:59:18 PST 2004
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
More information about the cvs-src
mailing list