aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/ViewControllers/TunnelsTableViewController.swift
diff options
context:
space:
mode:
authorJeroen Leenarts <jeroen.leenarts@gmail.com>2018-08-21 20:04:14 +0200
committerJeroen Leenarts <jeroen.leenarts@gmail.com>2018-08-21 20:04:14 +0200
commitdc1a3865af4fb53063f611f18ec427157538f834 (patch)
tree34ccadb96fd8000948a2d2a7d6946bfea9c50bae /WireGuard/ViewControllers/TunnelsTableViewController.swift
parentAdded ability to add tunnels with a QR code scan. Logic in place to parse conf files as well. (diff)
downloadwireguard-apple-dc1a3865af4fb53063f611f18ec427157538f834.tar.xz
wireguard-apple-dc1a3865af4fb53063f611f18ec427157538f834.zip
Line selection configures the tunnel.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to '')
-rw-r--r--WireGuard/ViewControllers/TunnelsTableViewController.swift2
1 files changed, 1 insertions, 1 deletions
diff --git a/WireGuard/ViewControllers/TunnelsTableViewController.swift b/WireGuard/ViewControllers/TunnelsTableViewController.swift
index a727694..a96afa5 100644
--- a/WireGuard/ViewControllers/TunnelsTableViewController.swift
+++ b/WireGuard/ViewControllers/TunnelsTableViewController.swift
@@ -84,7 +84,7 @@ class TunnelsTableViewController: UITableViewController {
let section = sections[indexPath.section]
let tunnel = section.objects[indexPath.row]
- delegate?.connect(tunnel: tunnel, tunnelsTableViewController: self)
+ delegate?.configure(tunnel: tunnel, tunnelsTableViewController: self)
tableView.deselectRow(at: indexPath, animated: true)
}