diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2020-01-09 11:55:26 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2020-01-09 11:55:26 +0000 |
commit | 0b25131f248b04d0ff3ff7ae4c3f2b3a67486d0f (patch) | |
tree | 2cd5dd52c3d9569ff27f48234a39293af11a9b93 /usr.sbin/bgpctl/bgpctl.h | |
parent | 6cdd3aac731e58d47a474b7343f2a2ed12bf6037 (diff) |
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 'usr.sbin/bgpctl/bgpctl.h')
0 files changed, 0 insertions, 0 deletions