aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard
diff options
context:
space:
mode:
authorJeroen Leenarts <jeroen.leenarts@gmail.com>2018-08-04 22:49:37 +0200
committerJeroen Leenarts <jeroen.leenarts@gmail.com>2018-08-04 22:49:37 +0200
commit54c9305ae4c66e37385e62f116d77d09f874b277 (patch)
tree1082a5183b6c45aa57f1a74c2b79da3ef5e3a7ce /WireGuard
parentRemove some silly TODOs. (diff)
downloadwireguard-apple-54c9305ae4c66e37385e62f116d77d09f874b277.tar.xz
wireguard-apple-54c9305ae4c66e37385e62f116d77d09f874b277.zip
A server address is required for proper saving of protocol configuration.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'WireGuard')
-rw-r--r--WireGuard/Coordinators/AppCoordinator.swift1
1 files changed, 1 insertions, 0 deletions
diff --git a/WireGuard/Coordinators/AppCoordinator.swift b/WireGuard/Coordinators/AppCoordinator.swift
index e75471e..4f147f1 100644
--- a/WireGuard/Coordinators/AppCoordinator.swift
+++ b/WireGuard/Coordinators/AppCoordinator.swift
@@ -245,6 +245,7 @@ extension AppCoordinator: TunnelsTableViewControllerDelegate {
protocolConfiguration.providerBundleIdentifier = VPNBUNDLE
//TODO obtain endpoint hostname
// protocolConfiguration.serverAddress = endpoint.hostname
+ protocolConfiguration.serverAddress = "168.192.0.1"
//TODO obtain endpoint username
// protocolConfiguration.username = endpoint.username
//TODO: how to obtain this?