summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDavid Lönnhager <david.l@mullvad.net>2025-02-03 09:17:09 +0100
committerDavid Lönnhager <david.l@mullvad.net>2025-02-03 09:17:09 +0100
commit541fc4dcca922ee6284d360c82db5d8caeaf59e6 (patch)
tree672d0cae51cb8483c6da2af8644de12021fa06f8
parente0d2a147b14eabf5b86f96ea70e8f37631b5b27b (diff)
downloadmullvadvpn-541fc4dcca922ee6284d360c82db5d8caeaf59e6.tar.xz
mullvadvpn-541fc4dcca922ee6284d360c82db5d8caeaf59e6.zip
Set correct DAITA platform on Windows
-rw-r--r--talpid-tunnel-config-client/proto/ephemeralpeer.proto1
-rw-r--r--talpid-tunnel-config-client/src/lib.rs3
2 files changed, 2 insertions, 2 deletions
diff --git a/talpid-tunnel-config-client/proto/ephemeralpeer.proto b/talpid-tunnel-config-client/proto/ephemeralpeer.proto
index 7fc54002e5..5ab45a7284 100644
--- a/talpid-tunnel-config-client/proto/ephemeralpeer.proto
+++ b/talpid-tunnel-config-client/proto/ephemeralpeer.proto
@@ -66,6 +66,7 @@ enum DaitaPlatform {
macos_wg_go = 3;
ios_wg_go = 4;
android_wg_go = 5;
+ windows_wg_go = 6;
}
enum DaitaLevel {
diff --git a/talpid-tunnel-config-client/src/lib.rs b/talpid-tunnel-config-client/src/lib.rs
index 5d2d785dba..123c828283 100644
--- a/talpid-tunnel-config-client/src/lib.rs
+++ b/talpid-tunnel-config-client/src/lib.rs
@@ -212,8 +212,7 @@ pub async fn request_ephemeral_peer_with(
const fn get_platform() -> proto::DaitaPlatform {
use proto::DaitaPlatform;
const PLATFORM: DaitaPlatform = if cfg!(target_os = "windows") {
- // FIXME: wggo
- DaitaPlatform::LinuxWgGo
+ DaitaPlatform::WindowsWgGo
} else if cfg!(target_os = "linux") {
DaitaPlatform::LinuxWgGo
} else if cfg!(target_os = "macos") {