New peers should begin with zero peers.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
parent
0af4dadd70
commit
d6e0838677
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue