diff options
author | iedowse <iedowse@FreeBSD.org> | 2001-09-25 20:22:33 +0000 |
---|---|---|
committer | iedowse <iedowse@FreeBSD.org> | 2001-09-25 20:22:33 +0000 |
commit | 2cba2e955a43aa51407b34fbec17c91a9b625161 (patch) | |
tree | 052f107fcf6402783cbfc60a23db9331e5e2c8a8 /secure | |
parent | 3282be0059c853ebcc8ac74cf5afa4607cfa3230 (diff) | |
download | FreeBSD-src-2cba2e955a43aa51407b34fbec17c91a9b625161.zip FreeBSD-src-2cba2e955a43aa51407b34fbec17c91a9b625161.tar.gz |
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
Diffstat (limited to 'secure')
0 files changed, 0 insertions, 0 deletions