CVSROOT: /cvs Module name: src Changes by: [email protected] 2015/03/10 21:35:17
Modified files:
sbin/ping : ping.c
Log message:
use clock_gettime(CLOCK_MONOTONIC) to get timestamps to measure the
interval between sending a ping and getting a reply for it.
this makes it resistant against local wall clock changes, which can
skew the intervals reported or make them go negative.
ok deraadt@ florian@
makes sense to lots of others
