From owner-cvs-src@FreeBSD.ORG Sun Feb 8 13:59:18 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3517C16A4CE; Sun, 8 Feb 2004 13:59:18 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E63743D1F; Sun, 8 Feb 2004 13:59:18 -0800 (PST) (envelope-from iedowse@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i18LxH0B082734; Sun, 8 Feb 2004 13:59:17 -0800 (PST) (envelope-from iedowse@repoman.freebsd.org) Received: (from iedowse@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i18LxHYu082733; Sun, 8 Feb 2004 13:59:17 -0800 (PST) (envelope-from iedowse) Message-Id: <200402082159.i18LxHYu082733@repoman.freebsd.org> From: Ian Dowse Date: Sun, 8 Feb 2004 13:59:17 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sbin/ping ping.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Feb 2004 21:59:18 -0000 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