]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Limit tapctl.exe and openvpnmsica.dll to TAP-Windows6 adapters only
authorSimon Rozman <simon@rozman.si>
Sun, 24 Feb 2019 18:16:21 +0000 (19:16 +0100)
committerGert Doering <gert@greenie.muc.de>
Thu, 28 Feb 2019 15:36:16 +0000 (16:36 +0100)
commitf20dd0ee77c37c5d99106d0cbf29658b3c57fd3f
treec59969367028566f18d19f11d7d3088335667aad
parent5a05352f0ae06d2f79072fdc86370f279ed84074
Limit tapctl.exe and openvpnmsica.dll to TAP-Windows6 adapters only

Note: Hardware ID check is used selectively. When naming the adapter, we
still need to check all existing adapters to prevent duplicate names.
When listing or removing adapters by name, the operation is limited to
TUN-Windows6 adapters only.

This patch follows Gert's recommendations from [openvpn-devel].

Signed-off-by: Simon Rozman <simon@rozman.si>
Message-ID: <20190120130813.GY962@greenie.muc.de>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20190224181621.27020-1-simon@rozman.si>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg18234.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpnmsica/msica_op.c
src/openvpnmsica/openvpnmsica.c
src/tapctl/main.c
src/tapctl/tap.c
src/tapctl/tap.h