]> git.ipfire.org Git - thirdparty/openvpn.git/commit
dco_linux: extend netlink error cb with extra info
authorAntonio Quartulli <antonio@mandelbit.com>
Tue, 28 Jan 2025 13:44:54 +0000 (14:44 +0100)
committerGert Doering <gert@greenie.muc.de>
Tue, 28 Jan 2025 13:48:17 +0000 (14:48 +0100)
commitedad5fa42bff2f291d7d416ccb90f4e7cd5b3f39
treeca627309bb111e02cfb4518cc2734dd4c0b140e7
parent40518dc66d9d04e6ec7e04439d7a6bc7fd6ac20f
dco_linux: extend netlink error cb with extra info

A netlink error may contain more specific attributes: i.e.
missing attributes or missing neted objects.

Parse and print this information too.

Note that we are re-defining some enum entries that exist
in netlink.h starting with linux-6.1.
Since we do support distros not shipping an up-to-date
netlink.h, we had to re-define the entries we need for
this patch.

Change-Id: I9e27ff335d892429334137d028f8503da4e4ca5b
Signed-off-by: Antonio Quartulli <antonio@mandelbit.com>
Acked-by: Frank Lichtenheld <frank@lichtenheld.com>
Message-Id: <20250128134454.2888-1-gert@greenie.muc.de>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg30658.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/dco_linux.c