freebsd-src/usr.sbin/bsnmpd
Warner Losh f009aedae4 bsnmpd: Return the correct uptime.
Do not assume that the kernel boot time is invariant. It is not. FreeBSD
uses the formula:
	wall_time = boot_time + uptime
where uptime is monotinically increasing and boot_time is adjusted to
get the proper time of day.  FreeBSD offers a way to retrieve the uptime
directly, so use that instead of trying to compute it by subtracting
boot_time from wall_time.

Sponsored by:		Netflix
Reviewed by:		cy@
Differential Revision:	https://reviews.freebsd.org/D30114
2021-05-05 15:12:38 -06:00
..
bsnmpd Update Makefile.depend files 2019-12-11 17:37:53 +00:00
gensnmptree DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
modules bsnmpd: Return the correct uptime. 2021-05-05 15:12:38 -06:00
tools Replace literal uses of /usr/local in C sources with _PATH_LOCALBASE 2020-10-27 11:29:11 +00:00
Makefile
Makefile.inc Add a bsnmp package 2015-03-18 13:01:09 +00:00