diff options
| author | Andrej Mihajlov <and@mullvad.net> | 2020-02-17 16:02:55 +0100 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2020-02-18 13:02:48 +0100 |
| commit | 8cabbf30adedaea8969080804c2e335e0625663b (patch) | |
| tree | 3dd98c99cdf3604e6d79996fc3ce64cae38648de /ios/PacketTunnel | |
| parent | 354c7feec88797e6696dbbc7a5177187baae3a2e (diff) | |
| download | mullvadvpn-8cabbf30adedaea8969080804c2e335e0625663b.tar.xz mullvadvpn-8cabbf30adedaea8969080804c2e335e0625663b.zip | |
Show relay location and connection info
Diffstat (limited to 'ios/PacketTunnel')
| -rw-r--r-- | ios/PacketTunnel/PacketTunnelProvider.swift | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ios/PacketTunnel/PacketTunnelProvider.swift b/ios/PacketTunnel/PacketTunnelProvider.swift index 1aceba8a0f..1b5dddb281 100644 --- a/ios/PacketTunnel/PacketTunnelProvider.swift +++ b/ios/PacketTunnel/PacketTunnelProvider.swift @@ -289,7 +289,9 @@ class PacketTunnelProvider: NEPacketTunnelProvider { self.connectionInfo = TunnelConnectionInfo( ipv4Relay: selectorResult.endpoint.ipv4Relay, ipv6Relay: selectorResult.endpoint.ipv6Relay, - hostname: selectorResult.relay.hostname) + hostname: selectorResult.relay.hostname, + geoLocation: selectorResult.geoLocation + ) os_log(.default, log: tunnelProviderLog, "Selected relay: %{public}s", |
