]> www.infradead.org Git - users/dwmw2/openconnect.git/commit
Fix logging of rekey / trojan invocation delay
authorWade Cline <wade.cline@intel.com>
Wed, 28 Feb 2024 03:19:00 +0000 (19:19 -0800)
committerDaniel Lenski <dlenski@gmail.com>
Wed, 28 Feb 2024 05:40:30 +0000 (21:40 -0800)
commit17b45cdd406d3d4218ba08a0835da839a6d79465
treeb44acc014610d8d2709ad062aeb24169b61db5e9
parent8489956efc122f476418f5a3f2d1afc85ba1065e
Fix logging of rekey / trojan invocation delay

Closes #677

The rekey / trojan invocation is supposed to happen in the future.
Therefore subtract current time from expected time of rekey / invocation,
not the reverse.

These delays have been shown incorrectly ever since the SIGUSR1 handler was
added in b156b581e894b03e7169827b9e293ca2f13e1366.

Originally submitted at
https://lists.infradead.org/pipermail/openconnect-devel/2024-February/005400.html

Signed-off-by: Cline, Wade <wade.cline@intel.com>
Signed-off-by: Dimitri Papadopoulos <3350651-DimitriPapadopoulos@users.noreply.gitlab.com>
Signed-off-by: Daniel Lenski <dlenski@gmail.com>
main.c