Tested this, and it indeed does the right thing - the code in question
is only called when a client exit is notified from the kernel (ping
timeout, for example) and we do receive the proper value and put it
into the correct place now :-)
(I have a patch in my FreeBSD-testing tree that logs all these counters)
Your patch has been applied to the master branch.
commit bf01a965dfbfc2651eaf3dbe4d37da74f3071628
Author: Ralf Lici
Date: Sun Oct 19 19:02:42 2025 +0200
dco-freebsd: store peer stats directly in c2
Signed-off-by: Ralf Lici <[email protected]>
Acked-by: Gert Doering <[email protected]>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1275
Message-Id: <[email protected]>
URL:
https://www.mail-archive.com/[email protected]/msg33791.html
Signed-off-by: Gert Doering <[email protected]>
--
kind regards,
Gert Doering
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel