summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorOdd Stranne <odd@mullvad.net>2019-04-15 12:30:42 +0200
committerOdd Stranne <odd@mullvad.net>2019-04-17 14:10:40 +0200
commit3491e57c02fde3b06d9c09992fc232633dcfaa3d (patch)
tree63fb5e8d7760af8713f6b3533da43b606eeda4ea
parente2b85d01e51ea61aaccce31b9a032492cfd81932 (diff)
downloadmullvadvpn-3491e57c02fde3b06d9c09992fc232633dcfaa3d.tar.xz
mullvadvpn-3491e57c02fde3b06d9c09992fc232633dcfaa3d.zip
Correct hardcoded adapter name in GetTapInterfaceIpv6Status
-rw-r--r--windows/winroute/src/winroute/winroute.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/windows/winroute/src/winroute/winroute.cpp b/windows/winroute/src/winroute/winroute.cpp
index f50da8eb48..0f00444111 100644
--- a/windows/winroute/src/winroute/winroute.cpp
+++ b/windows/winroute/src/winroute/winroute.cpp
@@ -50,7 +50,7 @@ GetTapInterfaceIpv6Status(
{
MIB_IPINTERFACE_ROW interface = { 0 };
- interface.InterfaceLuid = NetworkInterfaces::GetInterfaceLuid(L"Mullvad");
+ interface.InterfaceLuid = NetworkInterfaces::GetInterfaceLuid(InterfaceUtils::GetTapInterfaceAlias());
interface.Family = AF_INET6;
const auto status = GetIpInterfaceEntry(&interface);