diff options
| author | Erik Larkö <erik@mullvad.net> | 2018-01-08 17:07:29 +0100 |
|---|---|---|
| committer | Erik Larkö <erik@mullvad.net> | 2018-01-09 11:12:45 +0100 |
| commit | 41c3be2fec3019ae4925a154f2e1c338049ddc81 (patch) | |
| tree | 2b4382cf73523bc248e238f8165cc3b4539fd7cc | |
| parent | 94da3554a0a6014ba47db58dbd12b10a1ed6e2de (diff) | |
| download | mullvadvpn-41c3be2fec3019ae4925a154f2e1c338049ddc81.tar.xz mullvadvpn-41c3be2fec3019ae4925a154f2e1c338049ddc81.zip | |
Default to servers in Sweden
| -rw-r--r-- | CHANGELOG.md | 1 | ||||
| -rw-r--r-- | mullvad-daemon/src/settings.rs | 6 |
2 files changed, 4 insertions, 3 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index cb101535f4..00db5fb901 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,6 +23,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/). app blocks traffic because the tunnel is not connected the tray icon will indicate this with a green lock with a red dot. - While connecting, a message telling the user that internet accesss is blocked is shown. +- Default to selecting servers in Sweden to increase the likelyhood of a fast and stable connection. ## [2017.1-beta7] - 2017-12-13 diff --git a/mullvad-daemon/src/settings.rs b/mullvad-daemon/src/settings.rs index 5735c687c9..867f461deb 100644 --- a/mullvad-daemon/src/settings.rs +++ b/mullvad-daemon/src/settings.rs @@ -2,8 +2,8 @@ extern crate serde_json; use app_dirs; -use mullvad_types::relay_constraints::{Constraint, RelayConstraints, RelaySettings, - RelaySettingsUpdate}; +use mullvad_types::relay_constraints::{Constraint, LocationConstraint, RelayConstraints, + RelaySettings, RelaySettingsUpdate}; use std::fs::File; use std::io; @@ -44,7 +44,7 @@ impl Default for Settings { Settings { account_token: None, relay_settings: RelaySettings::Normal(RelayConstraints { - location: Constraint::Any, + location: Constraint::Only(LocationConstraint::Country("se".to_owned())), tunnel: Constraint::Any, }), allow_lan: false, |
