This is a useful addition (as we discussed at the hackathon), for future feature enhancements that require a minimum version of the DCO-WIN driver ("new driver supports old+new openvpn.exe by means of v1 and v2 IOCTLs, but new openvpn.exe has no compat layer for old driver").
Uncrustify complains about ovpn_dco_win.h on commit, because the exclusion list is not applied in our "commit hook" - but this is known and accepted for this file ("import from other project"). I have compile-tested this on Ubuntu/MinGW and ran through GHA, and also done a quick stare-at-code ("does it handle errors, like 'no driver' or 'driver too old for this IOCTL'?") and this all looks good. Your patch has been applied to the master and release/2.6 branch. commit e8e5f8a4c4f8e01dc7317ac87a85d3204882d6bf (master) commit c54e1b226e9d6709cdc2b243e6a961a6cd47c7c6 (release/2.6) Author: Lev Stipakov Date: Sun Oct 8 13:27:55 2023 +0200 dco-win: get driver version Signed-off-by: Lev Stipakov <l...@openvpn.net> Acked-by: Arne Schwabe <arne-open...@rfc2549.org> Message-Id: <20231008112755.23568-1-fr...@lichtenheld.com> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg27174.html Signed-off-by: Gert Doering <g...@greenie.muc.de> -- kind regards, Gert Doering _______________________________________________ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel