Skip to content

Commit

Permalink
Don't toggle "direct only" with DAITA
Browse files Browse the repository at this point in the history
  • Loading branch information
Serock3 committed Oct 7, 2024
1 parent 25eaf1c commit b5fd766
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions mullvad-daemon/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2345,15 +2345,6 @@ impl Daemon {
.settings
.update(|settings| {
settings.tunnel_options.wireguard.daita.enabled = value;

// enable 'use_multihop_if_necessary' automatically with daita
if cfg!(not(target_os = "android")) {
settings
.tunnel_options
.wireguard
.daita
.use_multihop_if_necessary = value
}
})
.await;

Expand Down

0 comments on commit b5fd766

Please sign in to comment.