]> git.ipfire.org Git - thirdparty/openvpn.git/commit
networking_iproute2: don't pass M_WARN to openvpn_execve_check()
authorAntonio Quartulli <a@unstable.cc>
Thu, 7 Apr 2022 20:14:11 +0000 (22:14 +0200)
committerGert Doering <gert@greenie.muc.de>
Fri, 8 Apr 2022 05:54:01 +0000 (07:54 +0200)
commit545f6bdea30e04a09b118c4e1faf6523544fd935
tree963dd15d211605d63ec1d0f189d2728fe93f1287
parentc3aa44699c69811493a81bda340a03530059929b
networking_iproute2: don't pass M_WARN to openvpn_execve_check()

openvpn_execve_check() expects a set of flags as third argument and not
a loglevel. For this reason, if no FATAL behaviour is expected, we
should simply pass 0. openvpn_execve_check() will then pick the
appropriate loglevel on its own.

Signed-off-by: Antonio Quartulli <a@unstable.cc>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20220407201411.22486-1-a@unstable.cc>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg24090.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/networking_iproute2.c