]> git.ipfire.org Git - thirdparty/openvpn.git/commit
disable DCO if no --dev was specified
authorAntonio Quartulli <a@unstable.cc>
Mon, 1 Aug 2022 15:08:12 +0000 (17:08 +0200)
committerGert Doering <gert@greenie.muc.de>
Mon, 1 Aug 2022 15:16:03 +0000 (17:16 +0200)
commitb8b0a95efff0184cebacc43a6e751fa8f9092cd8
treef62d0abfa09dc89a439a7b5d980865bc617c3718
parentfc75ab33401718fab3a79b19698eefb70a617a83
disable DCO if no --dev was specified

The DCO logic is unable to proceed without --dev argument, therefore
just disable DCO if no --dev was specified by the user.

Right now, calling openvpn with DCO enabled (default) and no --dev
specified leads to a crash, because --dev is assumed to always be there.

Reported-by: Frank Lichtenheld <frank@lichtenheld.com>
Signed-off-by: Antonio Quartulli <a@unstable.cc>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20220801150812.32561-1-a@unstable.cc>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg24772.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/dco.c