Skip to content

Commit

Permalink
Enable IPv6 by default on macOS
Browse files Browse the repository at this point in the history
Fixes routing/DNS issues on some macOS machines
  • Loading branch information
dlon committed Sep 26, 2024
1 parent c15e49e commit c43214a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mullvad-types/src/settings/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
}
Expand Down

0 comments on commit c43214a

Please sign in to comment.