Since bgpctl uses clock_gettime() and struct timespec switch ometric code
authorclaudio <claudio@openbsd.org>
Mon, 12 Dec 2022 09:51:04 +0000 (09:51 +0000)
committerclaudio <claudio@openbsd.org>
Mon, 12 Dec 2022 09:51:04 +0000 (09:51 +0000)
commit81e584e859986614df9cc99f354526771f10acfe
tree449acba509257157d5785157e6379c0b3c885f70
parent33da1efb5371ae974958b55b2b0999fb60bae28c
Since bgpctl uses clock_gettime() and struct timespec switch ometric code
over to handle struct timespec instead of struct timeval. This way no
extra conversion is needed.
OK tb@
usr.sbin/bgpctl/ometric.c
usr.sbin/bgpctl/ometric.h
usr.sbin/bgpctl/output_ometric.c