diff options
| author | Odd Stranne <odd@mullvad.net> | 2022-03-18 11:48:33 +0100 |
|---|---|---|
| committer | Odd Stranne <odd@mullvad.net> | 2022-03-24 10:34:59 +0100 |
| commit | f308d4bd6be1dda4112e33b829b8d406c6a7eb86 (patch) | |
| tree | 4a45120952d12e5c1e20be39d56ae64e0af1105c /mullvad-api/src | |
| parent | 0e5b3948ce70a3b5634fdbf39d6430f8a53fdd48 (diff) | |
| download | mullvadvpn-f308d4bd6be1dda4112e33b829b8d406c6a7eb86.tar.xz mullvadvpn-f308d4bd6be1dda4112e33b829b8d406c6a7eb86.zip | |
Restructure how WireGuard obfuscation is configured and applied
Diffstat (limited to 'mullvad-api/src')
| -rw-r--r-- | mullvad-api/src/relay_list.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mullvad-api/src/relay_list.rs b/mullvad-api/src/relay_list.rs index 5a8a01836f..7f72767a1b 100644 --- a/mullvad-api/src/relay_list.rs +++ b/mullvad-api/src/relay_list.rs @@ -4,7 +4,7 @@ use crate::rest; use hyper::{header, Method, StatusCode}; use mullvad_types::{location, relay_list}; -use talpid_types::net::{wireguard, TransportProtocol}; +use talpid_types::net::wireguard; use std::{ collections::BTreeMap, @@ -182,7 +182,6 @@ impl ServerRelayList { ipv4_gateway, ipv6_gateway, public_key, - protocol: TransportProtocol::Udp, }; for mut wireguard_relay in relays { @@ -315,6 +314,7 @@ fn relay(relay: Relay, location: location::Location) -> relay_list::Relay { weight: relay.weight, tunnels: Default::default(), bridges: Default::default(), + obfuscators: Default::default(), location: Some(location), } } |
