Use the monotonic clock to compute the session duration.
authorcheloha <cheloha@openbsd.org>
Tue, 16 Jan 2018 17:07:49 +0000 (17:07 +0000)
committercheloha <cheloha@openbsd.org>
Tue, 16 Jan 2018 17:07:49 +0000 (17:07 +0000)
commit6f074127ef73a3f52887e817c3b3acddc36b103a
tree80c9337e62e81dff1e159c6a956ea5a1cb35e65d
parent943c45ac672cf761cfd29a15a9dcbe964e89cbcf
Use the monotonic clock to compute the session duration.

Ensures the correct duration is logged even if the system
time is changed during the session.

ok jca@
usr.sbin/authpf/authpf.c