Start a new peer without an allowed ips entry.

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

View File

@ -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()