New peers should begin with zero peers.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
Jeroen Leenarts 2018-09-16 21:22:00 +02:00
parent 0af4dadd70
commit d6e0838677
1 changed files with 0 additions and 3 deletions

View File

@ -33,9 +33,6 @@ 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)
let interface = Interface(context: viewContext)