New peers should begin with zero peers.
This commit is contained in:
parent
f9c2a82740
commit
e53c959c00
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue