summaryrefslogtreecommitdiffhomepage
path: root/windows
diff options
context:
space:
mode:
authorDavid Lönnhager <david.l@mullvad.net>2020-12-15 15:01:59 +0100
committerDavid Lönnhager <david.l@mullvad.net>2020-12-17 13:42:36 +0100
commit8ea52818ab30e61c52f64fa843c2c1ece0855ec8 (patch)
tree6033c7bc0eba81fa810c4c39876461def5b21205 /windows
parentd76fce034822c7ee986a02dfe696dc6e9bb5bff9 (diff)
downloadmullvadvpn-8ea52818ab30e61c52f64fa843c2c1ece0855ec8.tar.xz
mullvadvpn-8ea52818ab30e61c52f64fa843c2c1ece0855ec8.zip
Obtain correct default route when using OpenVPN and Wintun
Diffstat (limited to 'windows')
-rw-r--r--windows/winnet/src/winnet/routing/helpers.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/windows/winnet/src/winnet/routing/helpers.cpp b/windows/winnet/src/winnet/routing/helpers.cpp
index 20b1f942c4..4a85fda1fb 100644
--- a/windows/winnet/src/winnet/routing/helpers.cpp
+++ b/windows/winnet/src/winnet/routing/helpers.cpp
@@ -12,7 +12,8 @@ namespace
// Interface description substrings found for virtual adapters.
const wchar_t *TUNNEL_INTERFACE_DESCS[] = {
L"WireGuard",
- L"TAP Adapter"
+ L"Wintun",
+ L"Tunnel"
};
bool IsRouteOnPhysicalInterface(const MIB_IPFORWARD_ROW2 &route)