]> git.ipfire.org Git - thirdparty/openvpn.git/commit
dco-win: ensure the DCO API is not used when running on Windows
authorAntonio Quartulli <a@unstable.cc>
Sun, 14 Aug 2022 08:51:17 +0000 (10:51 +0200)
committerGert Doering <gert@greenie.muc.de>
Thu, 18 Aug 2022 06:31:44 +0000 (08:31 +0200)
commitd4f2209cdb4dfda32f36fa750d97b7e1ba751a4d
treec1f614098f4aae46fd506b77a2fc2bc1c1f4b70c
parent897728ff7141c367c5ea1e02918c8487ccafef16
dco-win: ensure the DCO API is not used when running on Windows

On Windows the high level API should still use the link_socket object to
read and write packets. For this reason, even if dco_installed is true,
we still need to rely on the classic link_socket object.

Signed-off-by: Antonio Quartulli <a@unstable.cc>
Acked-by: Lev Stipakov <lstipakov@gmail.com>
Message-Id: <20220814085117.7128-1-a@unstable.cc>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg24929.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/forward.c