summaryrefslogtreecommitdiffhomepage
path: root/mullvad-daemon/src
diff options
context:
space:
mode:
authorJanito Vaqueiro Ferreira Filho <janito@mullvad.net>2019-11-19 19:12:39 +0000
committerJanito Vaqueiro Ferreira Filho <janito@mullvad.net>2019-12-03 12:30:32 +0000
commita7e93ec7745ccca9d90ab0099dcab2c76fe32b03 (patch)
tree3944825e3c961df52e453d39cadbba9e81a9292f /mullvad-daemon/src
parentcfccf766a6e5f91c3e5298db63f7a4790ecd6ea0 (diff)
downloadmullvadvpn-a7e93ec7745ccca9d90ab0099dcab2c76fe32b03.tar.xz
mullvadvpn-a7e93ec7745ccca9d90ab0099dcab2c76fe32b03.zip
Make `TunProvider`s have the same constructor name
Diffstat (limited to 'mullvad-daemon/src')
-rw-r--r--mullvad-daemon/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mullvad-daemon/src/lib.rs b/mullvad-daemon/src/lib.rs
index b0387e494c..55ebe7eb38 100644
--- a/mullvad-daemon/src/lib.rs
+++ b/mullvad-daemon/src/lib.rs
@@ -434,7 +434,7 @@ where
account_history::AccountHistory::new(&cache_dir).map_err(Error::LoadAccountHistory)?;
#[cfg(not(target_os = "android"))]
- let tun_provider = PlatformTunProvider::default();
+ let tun_provider = PlatformTunProvider::new();
let tunnel_parameters_generator = MullvadTunnelParametersGenerator {
tx: internal_event_tx.clone(),