Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Properly scan for OpenVPN TAP adapters #2832

Merged
merged 2 commits into from Aug 12, 2015
Merged

Properly scan for OpenVPN TAP adapters #2832

merged 2 commits into from Aug 12, 2015

Conversation

zeroZshadow
Copy link
Contributor

Properly scan for OpenVPN TAP adapters
and handle errors correctly in SendFrame.

Handle errors correctly in SendFrame

status = RegOpenKeyEx(HKEY_LOCAL_MACHINE, NETWORK_CONNECTIONS_KEY, 0, KEY_READ, &control_net_key);

if (status != ERROR_SUCCESS)
return false;

while (!found_all)
for (;; i++)

This comment was marked as off-topic.

@shuffle2
Copy link
Contributor

Is this change required because OpenVPN changed their driver, or some other reason?

@zeroZshadow
Copy link
Contributor Author

The registery on Windows 10 is different, making it unable to find the TAP adapters without this fix. Also the code was simply wrong.

shuffle2 added a commit that referenced this pull request Aug 12, 2015
Properly scan for OpenVPN TAP adapters
@shuffle2 shuffle2 merged commit 90e05f7 into dolphin-emu:master Aug 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants