aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuard/VPN
diff options
context:
space:
mode:
authorRoopesh Chander <roop@roopc.net>2018-10-17 16:11:22 +0530
committerRoopesh Chander <roop@roopc.net>2018-10-27 15:13:01 +0530
commit921b81e89b2f395347510215d30255258fa9f2e3 (patch)
treec0c14435810b5598385e15bb83bacb744db16c7a /WireGuard/WireGuard/VPN
parentTunnels list: Show an actions list when the '+' is tapped (diff)
downloadwireguard-apple-921b81e89b2f395347510215d30255258fa9f2e3.tar.xz
wireguard-apple-921b81e89b2f395347510215d30255258fa9f2e3.zip
Model: Name should be part of the interface, not the tunnel
Signed-off-by: Roopesh Chander <roop@roopc.net>
Diffstat (limited to 'WireGuard/WireGuard/VPN')
-rw-r--r--WireGuard/WireGuard/VPN/TunnelsManager.swift2
1 files changed, 1 insertions, 1 deletions
diff --git a/WireGuard/WireGuard/VPN/TunnelsManager.swift b/WireGuard/WireGuard/VPN/TunnelsManager.swift
index ff1cf78..ecc64d0 100644
--- a/WireGuard/WireGuard/VPN/TunnelsManager.swift
+++ b/WireGuard/WireGuard/VPN/TunnelsManager.swift
@@ -13,7 +13,7 @@ class TunnelProviderManager {
var name: String
var tunnelConfiguration: TunnelConfiguration
init(tunnelConfiguration: TunnelConfiguration) {
- self.name = tunnelConfiguration.name
+ self.name = tunnelConfiguration.interface.name
self.tunnelConfiguration = tunnelConfiguration
}
}