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)")