]> git.feebdaed.xyz Git - 0xmirror/openvpn.git/commit
multi-socket: do not return tuntap flags on server-side
authorGianmarco De Gregori <gianmarco@mandelbit.com>
Mon, 24 Nov 2025 17:58:27 +0000 (18:58 +0100)
committerGert Doering <gert@greenie.muc.de>
Mon, 24 Nov 2025 18:43:29 +0000 (19:43 +0100)
commit6244e466217a367dd4d858f5e930e3aab415fc42
treea91fd6e21027adfc01cb0b3df14e0fb56fa9f4a8
parent0a429cb13557356ac14cc458de3b42e3e09f6c62
multi-socket: do not return tuntap flags on server-side

Tuntap flags are already handled within
multi_io_process_io() so return them by
multi_io_process_flags() would be redoundant,
since we need them only for tun_set().

While at it, removed part of the I/O process
from multi_process_io_udp() since those are
also handled within multi_io_process_io(),
removed the FILE_CLOSED and FILE_SHIFT
defines since we now handle that kind of
event in multi_io_process_io() through
the MULTI_IO_FILE_CLOSE_WRITE define.

Change-Id: I6a5110a0583b8b33496b06d9c27c1084df38e842
Signed-off-by: Gianmarco De Gregori <gianmarco@mandelbit.com>
Acked-by: Gert Doering <gert@greenie.muc.de>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1364
Message-Id: <20251124175832.21352-1-gert@greenie.muc.de>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg34650.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/event.h
src/openvpn/forward.c
src/openvpn/mudp.c