summaryrefslogtreecommitdiffstats
path: root/sys/kern/tty.c
diff options
context:
space:
mode:
authorclaudio <claudio@openbsd.org>2020-01-09 11:55:25 +0000
committerclaudio <claudio@openbsd.org>2020-01-09 11:55:25 +0000
commit03e83acf80d69d58aff4fa4771102de606214415 (patch)
treee549a211cf63a12b43e959c7941fd239af828b46 /sys/kern/tty.c
parentConvert last_updown and last_read from time(3) to use getmonotime() (diff)
downloadwireguard-openbsd-03e83acf80d69d58aff4fa4771102de606214415.tar.xz
wireguard-openbsd-03e83acf80d69d58aff4fa4771102de606214415.zip
Convert the lastchange of a prefix from time(NULL) to getmonotime() which
uses CLOCK_MONOTONIC. Convert the control messages to return the relative age of the prefix instead of the absolute age. Adjust the mrt dump code to stil dump the route age in seconds since epoch as defined in the RFC. With this all times in bgpd are now based on CLOCK_MONOTONIC. OK denis@
Diffstat (limited to 'sys/kern/tty.c')
0 files changed, 0 insertions, 0 deletions