Start a new peer without an allowed ips entry.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
@@ -48,7 +48,6 @@ class TunnelConfigurationTableViewController: UITableViewController {
|
|||||||
tableView.insertRows(at: [insertedAt], with: .automatic)
|
tableView.insertRows(at: [insertedAt], with: .automatic)
|
||||||
|
|
||||||
let peer = Peer(context: moc)
|
let peer = Peer(context: moc)
|
||||||
peer.allowedIPs = "0.0.0.0/0, ::/0"
|
|
||||||
tunnel.addToPeers(peer)
|
tunnel.addToPeers(peer)
|
||||||
|
|
||||||
tableView.endUpdates()
|
tableView.endUpdates()
|
||||||
|
|||||||
Reference in New Issue
Block a user