]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Move dco_installed from sock->info to sock->info.lsa.actual
authorArne Schwabe <arne@rfc2549.org>
Thu, 24 Nov 2022 16:26:42 +0000 (17:26 +0100)
committerGert Doering <gert@greenie.muc.de>
Thu, 24 Nov 2022 16:35:02 +0000 (17:35 +0100)
commitf7ea7c2b4c0badfb99f75c94171400888715e8ce
tree8451fea23f65bcbf0770b0b8b117ef9a73a43faa
parent19c64f16baebbce966d55c62135d1ef066f7c8c2
Move dco_installed from sock->info to sock->info.lsa.actual

For tcp this makes no difference as the remote address of the
socket never changes. For udp this allows OpenVPN to differentiate
if a reconnecting client is using the same address as before or
from a different one. This allow sending via the normal userspace
socket in that case.

Patch v2: fix windows code path
Patch v3: fix mtcp server code path

Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Antonio Quartulli <a@unstable.cc>
Message-Id: <20221124162642.3173118-1-arne@rfc2549.org>
URL: https://www.mail-archive.com/search?l=mid&q=20221124162642.3173118-1-arne@rfc2549.org
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/dco.c
src/openvpn/dco_linux.c
src/openvpn/forward.c
src/openvpn/init.c
src/openvpn/mtcp.c
src/openvpn/socket.c
src/openvpn/socket.h