From c43214ab5c942363975800939138b89665da85a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20L=C3=B6nnhager?= Date: Tue, 24 Sep 2024 10:35:03 +0200 Subject: [PATCH] Enable IPv6 by default on macOS Fixes routing/DNS issues on some macOS machines --- mullvad-types/src/settings/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mullvad-types/src/settings/mod.rs b/mullvad-types/src/settings/mod.rs index 8a90aa1f2396..e3be50bf5956 100644 --- a/mullvad-types/src/settings/mod.rs +++ b/mullvad-types/src/settings/mod.rs @@ -285,8 +285,8 @@ impl Default for TunnelOptions { openvpn: openvpn::TunnelOptions::default(), wireguard: wireguard::TunnelOptions::default(), generic: GenericTunnelOptions { - // Enable IPv6 be default on Android - enable_ipv6: cfg!(target_os = "android"), + // Enable IPv6 by default on Android and macOS + enable_ipv6: cfg!(target_os = "android") || cfg!(target_os = "macos"), }, dns_options: DnsOptions::default(), }