]> git.ipfire.org Git - thirdparty/openvpn.git/commit
dco: turn platform config checks into separate function
authorTimo Rothenpieler <timo@rothenpieler.org>
Wed, 17 Aug 2022 21:08:57 +0000 (23:08 +0200)
committerGert Doering <gert@greenie.muc.de>
Thu, 18 Aug 2022 05:37:29 +0000 (07:37 +0200)
commit897728ff7141c367c5ea1e02918c8487ccafef16
treec688c9824dbd1a9c335e5992a36ace215a62ca28
parentb421a0d55afc6e7a566b97cf9b687824be5a9118
dco: turn platform config checks into separate function

All the checks in there are only relevant during startup, and
specifically the capability check might cause issues when checking a CCD
config later at runtime.

So move them to their own function and call it only during startup.
Acked-by: Antonio Quartulli <a@unstable.cc>
Message-Id: <20220817210857.1558-1-timo@rothenpieler.org>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg24969.html

Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/dco.c
src/openvpn/dco.h
src/openvpn/options.c