]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
ping: fix triptime calculation after r350998
authorasomers <asomers@FreeBSD.org>
Wed, 14 Aug 2019 16:45:09 +0000 (16:45 +0000)
committerasomers <asomers@FreeBSD.org>
Wed, 14 Aug 2019 16:45:09 +0000 (16:45 +0000)
commit3252e10f106619d45d1b3a06f3e8bc7eb48393c3
treef2f9ebbb5ec023f84c8a29d395fae557edb4848c
parentc03d7409f45e500669561095a7eb7dba1dec726d
ping: fix triptime calculation after r350998

That revision changed the internal clock to the monotonic, but neglected to
change the datagram's timestamp source.

Reported by: Oliver Hartmann, Michael Butler
Reviewed by: Ján Sučan <sucanjan@gmail.com>, allanjude
MFC after: 2 weeks
MFC-With: r350998
Differential Revision: https://reviews.freebsd.org/D21258
sbin/ping/ping.c