From owner-cvs-all Tue Sep 25 13:22:39 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 69E2937B40B; Tue, 25 Sep 2001 13:22:34 -0700 (PDT) Received: (from iedowse@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f8PKMYl10203; Tue, 25 Sep 2001 13:22:34 -0700 (PDT) (envelope-from iedowse) Message-Id: <200109252022.f8PKMYl10203@freefall.freebsd.org> From: Ian Dowse Date: Tue, 25 Sep 2001 13:22:34 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/ping ping.8 ping.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG iedowse 2001/09/25 13:22:34 PDT Modified files: sbin/ping ping.8 ping.c Log: The -A option (beep when packets are dropped) didn't work quite right; after a single packet was dropped it beeped after every transmission. Change its implementation to only output a bell when there is an increase in the maximum value of the number of packets that were sent but not yet received. This has the benefit that even for very long round-trip times, ping -A will do roughly the right thing after a few inital false-positives. Reviewed by: ru Revision Changes Path 1.33 +7 -4 src/sbin/ping/ping.8 1.60 +7 -3 src/sbin/ping/ping.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message