From 18be2a85628e34b47dbfe4a8a29f3cba7435f740 Mon Sep 17 00:00:00 2001 From: Rick V Date: Wed, 20 Mar 2019 21:43:38 -0500 Subject: [PATCH] seek only the generic TAP device (On my system, i have a commercial VPN installed that uses its own fork of TAP-Win32 as its tunnelling driver) --- vendor/libtuntap-master/tuntap-windows.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor/libtuntap-master/tuntap-windows.c b/vendor/libtuntap-master/tuntap-windows.c index 9a313ea2c..05fb62dfc 100644 --- a/vendor/libtuntap-master/tuntap-windows.c +++ b/vendor/libtuntap-master/tuntap-windows.c @@ -140,7 +140,7 @@ reg_query(char *key_name) goto clean; } /* If its a tap adapter, its all good */ - if(strncmp(data, "tap", 3) == 0) + if(strncmp(data, "tap0901", 7) == 0) { DWORD type;