diff options
author | Jeroen Leenarts <jeroen.leenarts@gmail.com> | 2018-08-08 06:59:56 +0200 |
---|---|---|
committer | Jeroen Leenarts <jeroen.leenarts@gmail.com> | 2018-08-08 06:59:56 +0200 |
commit | 2b7aa04d403f0d8277f0ff5422c3f07249c424b9 (patch) | |
tree | 12f140c3973e28ca190fe82009f315f58aeb3a3a /WireGuard/ViewControllers/TunnelConfigurationTableViewController.swift | |
parent | Generate split allowed IPs in protocol configuration. (diff) | |
download | wireguard-apple-2b7aa04d403f0d8277f0ff5422c3f07249c424b9.tar.xz wireguard-apple-2b7aa04d403f0d8277f0ff5422c3f07249c424b9.zip |
Add tunnel provider identifier.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to '')
-rw-r--r-- | WireGuard/ViewControllers/TunnelConfigurationTableViewController.swift | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/WireGuard/ViewControllers/TunnelConfigurationTableViewController.swift b/WireGuard/ViewControllers/TunnelConfigurationTableViewController.swift index 5513e75..f761495 100644 --- a/WireGuard/ViewControllers/TunnelConfigurationTableViewController.swift +++ b/WireGuard/ViewControllers/TunnelConfigurationTableViewController.swift @@ -35,6 +35,7 @@ class TunnelConfigurationTableViewController: UITableViewController { viewContext.performAndWait { tunnel = Tunnel(context: viewContext) + tunnel.tunnelIdentifier = UUID().uuidString let peer = Peer(context: viewContext) peer.allowedIPs = "0.0.0.0/0, ::/0" tunnel.addToPeers(peer) |