aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard
diff options
context:
space:
mode:
authorJeroen Leenarts <jeroen.leenarts@gmail.com>2018-09-16 21:22:00 +0200
committerJeroen Leenarts <jeroen.leenarts@gmail.com>2018-09-16 21:22:00 +0200
commitd6e08386771c4e5a249f95dc9b00f48e986f5951 (patch)
tree6103a6cb53d68b3c65c911b77d8eca53d84d4e4d /WireGuard
parentBack button for tunnel table view renamed to "Tunnels" (diff)
downloadwireguard-apple-d6e08386771c4e5a249f95dc9b00f48e986f5951.tar.xz
wireguard-apple-d6e08386771c4e5a249f95dc9b00f48e986f5951.zip
New peers should begin with zero peers.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'WireGuard')
-rw-r--r--WireGuard/ViewControllers/TunnelConfigurationTableViewController.swift3
1 files changed, 0 insertions, 3 deletions
diff --git a/WireGuard/ViewControllers/TunnelConfigurationTableViewController.swift b/WireGuard/ViewControllers/TunnelConfigurationTableViewController.swift
index 7f66529..701e58d 100644
--- a/WireGuard/ViewControllers/TunnelConfigurationTableViewController.swift
+++ b/WireGuard/ViewControllers/TunnelConfigurationTableViewController.swift
@@ -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)