summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorErik Larkö <erik@mullvad.net>2017-11-07 13:52:21 +0100
committerErik Larkö <erik@mullvad.net>2017-11-07 13:52:21 +0100
commit6cd1868a4ff5bbf9c1f607a1d54ae4e8f4353cf3 (patch)
tree8eea32303035aa3b39529237691532ae2ce0c109
parentc9cf96dc6b91bad62a5bf04e943e109a9f14be80 (diff)
downloadmullvadvpn-6cd1868a4ff5bbf9c1f607a1d54ae4e8f4353cf3.tar.xz
mullvadvpn-6cd1868a4ff5bbf9c1f607a1d54ae4e8f4353cf3.zip
Change the relay cycle to not include the port in the host
-rw-r--r--mullvad-daemon/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mullvad-daemon/src/main.rs b/mullvad-daemon/src/main.rs
index 73a77e2008..49e2a13af7 100644
--- a/mullvad-daemon/src/main.rs
+++ b/mullvad-daemon/src/main.rs
@@ -531,7 +531,7 @@ impl Daemon {
let relay_constraints = self.settings.get_relay_constraints();
let host = match relay_constraints.host {
- Constraint::Any => format!("{}", self.relay_iter.next().unwrap().address),
+ Constraint::Any => format!("{}", self.relay_iter.next().unwrap().address.ip()),
Constraint::Only(host) => host,
};