diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2016-10-03 12:33:22 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2016-10-03 12:33:22 +0000 |
commit | 2ccbc991cb3c0ab5161657b9618933487f2e78a4 (patch) | |
tree | 0a565920444959cdd6ca3b107811406e2dc5f039 /sys/netinet6/icmp6.c | |
parent | ae60c1c6b0fa997314e9c82471a6e0ac2a7f1ea1 (diff) |
Convert some of the remaining usages of time_second to time_uptime.
time_second is unix time so it can be affected by clock changes.
time_uptime is monotonic so it isnt affected by clock changes. that
in turn means route expiries wont jump with clock changes if set
against time_uptime.
the expiry is translated into unix time for export to userland though.
Should fix mismatch between route timers that were already converted
and ND default routers that were still using time_second.
Tested by matthieu@ and sthen@
ok sthen@, dlg@
Diffstat (limited to 'sys/netinet6/icmp6.c')
0 files changed, 0 insertions, 0 deletions