Date: Tue, 25 Sep 2001 13:22:34 -0700 (PDT) From: Ian Dowse <iedowse@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/ping ping.8 ping.c Message-ID: <200109252022.f8PKMYl10203@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200109252022.f8PKMYl10203>
