]> git.ipfire.org Git - thirdparty/openvpn.git/commit
dco: cleanup FreeBSD dco_do_read()
authorKristof Provost <kp@FreeBSD.org>
Mon, 5 Dec 2022 16:41:03 +0000 (17:41 +0100)
committerGert Doering <gert@greenie.muc.de>
Wed, 14 Dec 2022 22:02:45 +0000 (23:02 +0100)
commit67e7846134bd8119737c3f80d958f401b5128cef
treec9c0fd01fc3235756569e892e5572509e2fcbb3b
parentf45a8d80b8ce2f73026d5330a6664c4a78e9afc2
dco: cleanup FreeBSD dco_do_read()

Remove support for reading packets through the control interface.
FreeBSD no longer does this, so there's no point in keeping the code for it.

While here also check that we know what type of notification we're
getting. There's currently only one, but we should check anyway.

Signed-off-by: Kristof Provost <kprovost@netgate.com>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20221205164103.9190-5-kprovost@netgate.com>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg25616.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
(cherry picked from commit 235161cd2bcd5403c807e66432c421114c896b74)
src/openvpn/dco_freebsd.c