From 54c9305ae4c66e37385e62f116d77d09f874b277 Mon Sep 17 00:00:00 2001 From: Jeroen Leenarts Date: Sat, 4 Aug 2018 22:49:37 +0200 Subject: [PATCH] A server address is required for proper saving of protocol configuration. Signed-off-by: Jason A. Donenfeld --- WireGuard/Coordinators/AppCoordinator.swift | 1 + 1 file changed, 1 insertion(+) 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?