summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2020-03-31 19:41:19 +0200
committerAndrej Mihajlov <and@mullvad.net>2020-04-01 12:37:27 +0200
commitce30ebe25998b88aa24514d7dfe86588ee91ef3a (patch)
treeb43d39dcb0950c1ac4000ef59fd4d76aba4bd3ae
parent1fb86f65238ccaa4bbf45d7ed40ede84c0a2e7a3 (diff)
downloadmullvadvpn-ce30ebe25998b88aa24514d7dfe86588ee91ef3a.tar.xz
mullvadvpn-ce30ebe25998b88aa24514d7dfe86588ee91ef3a.zip
Update simulated location info
-rw-r--r--ios/MullvadVPN/SimulatorTunnelProviderHost.swift16
1 files changed, 8 insertions, 8 deletions
diff --git a/ios/MullvadVPN/SimulatorTunnelProviderHost.swift b/ios/MullvadVPN/SimulatorTunnelProviderHost.swift
index 89d6423732..92d31f1375 100644
--- a/ios/MullvadVPN/SimulatorTunnelProviderHost.swift
+++ b/ios/MullvadVPN/SimulatorTunnelProviderHost.swift
@@ -21,16 +21,16 @@ class SimulatorTunnelProviderHost: SimulatorTunnelProviderDelegate {
func startTunnel(options: [String: Any]?, completionHandler: @escaping (Error?) -> Void) {
DispatchQueue.main.async {
self.connectionInfo = TunnelConnectionInfo(
- ipv4Relay: IPv4Endpoint(ip: IPv4Address("1.2.3.4")!, port: 53),
+ ipv4Relay: IPv4Endpoint(ip: IPv4Address("10.0.0.1")!, port: 53),
ipv6Relay: nil,
- hostname: "se7-wireguard",
+ hostname: "au4-wireguard",
location: Location(
- country: "Sweden",
- countryCode: "se",
- city: "Stockholm",
- cityCode: "sto",
- latitude: 59.3289,
- longitude: 18.0649
+ country: "Australia",
+ countryCode: "au",
+ city: "Melbourne",
+ cityCode: "mel",
+ latitude: -37.815018,
+ longitude: 144.946014
)
)