summaryrefslogtreecommitdiffstats
path: root/sys/net/pf_ioctl.c
diff options
context:
space:
mode:
authorhenning <henning@openbsd.org>2006-10-27 12:22:41 +0000
committerhenning <henning@openbsd.org>2006-10-27 12:22:41 +0000
commit2fae8c34af3d67980d4040fe27fe280808cfa975 (patch)
tree4ca48d9a98712dc877ad0d69d3f93b82bdbe9602 /sys/net/pf_ioctl.c
parentReflect recent changes in udcf(4). (diff)
downloadwireguard-openbsd-2fae8c34af3d67980d4040fe27fe280808cfa975.tar.xz
wireguard-openbsd-2fae8c34af3d67980d4040fe27fe280808cfa975.zip
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_ioctl.c')
0 files changed, 0 insertions, 0 deletions