Add tunnel provider identifier.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
Jeroen Leenarts committed 2018-08-08 06:59:56 +02:00
1 parent 762618ee5a
commit 2b7aa04d40
4 files changed
+5 -1

No files matched your search

@@ -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)