]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Fix TUNSETGROUP compatibility with very old Linux systems.
authorGert Doering <gert@greenie.muc.de>
Wed, 9 Sep 2020 15:37:25 +0000 (17:37 +0200)
committerGert Doering <gert@greenie.muc.de>
Thu, 10 Sep 2020 08:55:50 +0000 (10:55 +0200)
commita4e0ac0604460ea2431acb7481d6ffb7a3fc6298
tree78799a11620b660d0ec5c18ccc60b0587d72dc34
parenta09a2fadbadb5dc435f6fccc581163e1f637f43f
Fix TUNSETGROUP compatibility with very old Linux systems.

Our code works on "very old Linux" (Fedora-1), but needs a #define
for TUNSETGROUP to compile.  Everything else is there.

While at it, fix TUNSETGROUP error message.

Reported-By: noloader on Trac
Trac: #1152

Signed-off-by: Gert Doering <gert@greenie.muc.de>
Acked-by: Arne Schwabe <arne@rfc2549.org>
Message-Id: <20200909153725.1158-1-gert@greenie.muc.de>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg20932.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/tun.c