]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Improve error reporting from AF_UNIX tun/tap support
authorArne Schwabe <arne@rfc2549.org>
Sat, 1 Feb 2025 12:20:06 +0000 (13:20 +0100)
committerGert Doering <gert@greenie.muc.de>
Sat, 1 Feb 2025 18:34:09 +0000 (19:34 +0100)
commit800e8abdecd6cab62fd2074594b4e08aa72d0d82
tree79427d013e88576803b6650e2b8043f85ceb0a93
parentbfa5f0bdfe89d181f7b5f7af2ba34ab9357a1d13
Improve error reporting from AF_UNIX tun/tap support

When having a non-existent lwipovpn binary or similar problems, the
error reporting would often only report read error that were harder to
identify the real problem.  Add the openvpn_waitpid_check method
that checks for error conditions and reports a better message in cases
of problems.

Change-Id: I81cbecd19018290d85c6c77fba7769f040d66233
Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20250201122006.32098-1-gert@greenie.muc.de>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg30782.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/run_command.c
src/openvpn/run_command.h
src/openvpn/tun_afunix.c