From ca60e3db397fdc81d1860752fbc09b46ea418743 Mon Sep 17 00:00:00 2001 From: Davide De Rosa Date: Thu, 12 Nov 2020 19:19:59 +0100 Subject: [PATCH] Fix missing configuration title in Demo --- Demo/BasicTunnel-iOS/ViewController.swift | 2 +- Demo/BasicTunnel-macOS/ViewController.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Demo/BasicTunnel-iOS/ViewController.swift b/Demo/BasicTunnel-iOS/ViewController.swift index e5f7e36..57175fe 100644 --- a/Demo/BasicTunnel-iOS/ViewController.swift +++ b/Demo/BasicTunnel-iOS/ViewController.swift @@ -98,7 +98,7 @@ class ViewController: UIViewController, URLSessionDataDelegate { appGroup: appGroup, credentials: credentials ) - let neCfg = NetworkExtensionVPNConfiguration(protocolConfiguration: proto, onDemandRules: []) + let neCfg = NetworkExtensionVPNConfiguration(title: "BasicTunnel", protocolConfiguration: proto, onDemandRules: []) vpn.reconnect(configuration: neCfg) { (error) in if let error = error { print("configure error: \(error)") diff --git a/Demo/BasicTunnel-macOS/ViewController.swift b/Demo/BasicTunnel-macOS/ViewController.swift index 7196256..203e833 100644 --- a/Demo/BasicTunnel-macOS/ViewController.swift +++ b/Demo/BasicTunnel-macOS/ViewController.swift @@ -90,7 +90,7 @@ class ViewController: NSViewController { appGroup: appGroup, credentials: credentials ) - let neCfg = NetworkExtensionVPNConfiguration(protocolConfiguration: proto, onDemandRules: []) + let neCfg = NetworkExtensionVPNConfiguration(title: "BasicTunnel", protocolConfiguration: proto, onDemandRules: []) vpn.reconnect(configuration: neCfg) { (error) in if let error = error { print("configure error: \(error)")