| Message ID | 20251107141333.12056-1-gert@greenie.muc.de |
|---|---|
| State | New |
| Headers | show |
| Series | [Openvpn-devel,v3] FreeBSD DCO: repair incoming "delete peer" notifications in p2p client mode | expand |
Thanks for the review. Tested on FreeBSD 14.3 with DCO.
As it says in the commit, we might want to make the other DCO backends
use "OVPN_CMD_NO_MESSAGE" as well, instead of "defaulting to 0", but
that's for another day.
Patch has been applied to the master branch.
commit c4fe7813d8b8eba99549a7b5e9499a31f91c8109
Author: Gert Doering
Date: Fri Nov 7 15:13:27 2025 +0100
FreeBSD DCO: repair incoming 'delete peer' notifications in p2p client mode
Signed-off-by: Gert Doering <gert@greenie.muc.de>
Acked-by: Frank Lichtenheld <frank@lichtenheld.com>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1353
Message-Id: <20251107141333.12056-1-gert@greenie.muc.de>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg34237.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
--
kind regards,
Gert Doering
diff --git a/src/openvpn/dco_freebsd.h b/src/openvpn/dco_freebsd.h index 0797b82..5e2a552 100644 --- a/src/openvpn/dco_freebsd.h +++ b/src/openvpn/dco_freebsd.h @@ -33,6 +33,8 @@ enum ovpn_message_type_t { + /* message type #0 is treated as magic number by process_incoming_dco() */ + OVPN_CMD_NO_MESSAGE = 0, OVPN_CMD_DEL_PEER, OVPN_CMD_PACKET, OVPN_CMD_SWAP_KEYS,