summaryrefslogtreecommitdiff
path: root/sbin/ping6/ping6.c
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2015-03-11 03:35:18 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2015-03-11 03:35:18 +0000
commit8a3f8e114db44bc43da2974929da4707f6ac65be (patch)
treedfb77097083a2ed74d32ad127d2f02ec6ceeb1d1 /sbin/ping6/ping6.c
parent219913b1e3710fd53755b6bb2f376322aa588ef8 (diff)
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
Diffstat (limited to 'sbin/ping6/ping6.c')
0 files changed, 0 insertions, 0 deletions