Start a new peer without an allowed ips entry.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
parent
d6e0838677
commit
c863adce85
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue