New peers should begin with zero peers.

This commit is contained in:
Jeroen Leenarts 2018-09-16 21:22:00 +02:00
parent f9c2a82740
commit e53c959c00
1 changed files with 0 additions and 3 deletions

View File

@ -33,9 +33,6 @@ class TunnelConfigurationTableViewController: UITableViewController {
viewContext.performAndWait { viewContext.performAndWait {
tunnel = Tunnel(context: viewContext) tunnel = Tunnel(context: viewContext)
tunnel.tunnelIdentifier = UUID().uuidString tunnel.tunnelIdentifier = UUID().uuidString
let peer = Peer(context: viewContext)
peer.allowedIPs = "0.0.0.0/0, ::/0"
tunnel.addToPeers(peer)
let interface = Interface(context: viewContext) let interface = Interface(context: viewContext)