Switch from up/down time to time of last change.
authorclaudio <claudio@openbsd.org>
Tue, 18 Oct 2022 12:28:36 +0000 (12:28 +0000)
committerclaudio <claudio@openbsd.org>
Tue, 18 Oct 2022 12:28:36 +0000 (12:28 +0000)
commit37aeb3f3b29a1208ebd8a7ea967a3244df29d1fd
treef8a0672b573d29139233e5e3c57f6bded304608a
parent324a830cf84a4638e904c3d0bc6ab234c87cd541
Switch from up/down time to time of last change.

Having metrics depend on session state makes reporting more complex.
This now reports the number of seconds a session was up or down.
OK tb@
usr.sbin/bgpctl/output_ometric.c