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)
pull/418/head
Rick V 5 years ago
parent 866643f099
commit 18be2a8562
No known key found for this signature in database
GPG Key ID: C0EDC8723FDC3465

@ -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;

Loading…
Cancel
Save