diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2006-10-27 12:22:42 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2006-10-27 12:22:42 +0000 |
commit | 8e5eefbcf96d76671659d38bf825aa70ba2c0533 (patch) | |
tree | 01c6b88c7c904fc0034beda0f7b1d9d2a1e84b09 /sys/net/pf.c | |
parent | 48c2cd8e159c1ac5fe694663c6cda325b4537771 (diff) |
use clock_gettime(CLOCK_MONOTONIC, ..) to get a monotonically increasing
time, and make ntpd use that to send the next uery to an ntp peer and the
like. this has the advantage that changes to the clock do not interfere
with the intervals. for example, when we start on machines without an
RTC and the initial settime (-s) kicks in, intervals were strange.
idea from amandal@entrisphere.com, this implementation by me
tested ckuethe, phessler, mbalmer, ok mbalmer
Diffstat (limited to 'sys/net/pf.c')
0 files changed, 0 insertions, 0 deletions