aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuard/UI/macOS/ViewController/TunnelEditViewController.swift
diff options
context:
space:
mode:
authorRoopesh Chander <roop@roopc.net>2019-02-23 13:56:51 +0530
committerJason A. Donenfeld <Jason@zx2c4.com>2019-03-18 06:46:55 +0100
commit5d757982ba26ab3d9a26d16b8d03ea038e6568f2 (patch)
tree7e176fb35793ed1c437545efcdc71cca3aa0ba1e /WireGuard/WireGuard/UI/macOS/ViewController/TunnelEditViewController.swift
parenton-demand: Simplify OS-specific code for interface type selection (diff)
downloadwireguard-apple-5d757982ba26ab3d9a26d16b8d03ea038e6568f2.tar.xz
wireguard-apple-5d757982ba26ab3d9a26d16b8d03ea038e6568f2.zip
on-demand: Infrastructure for supporting SSID-based rules
Signed-off-by: Roopesh Chander <roop@roopc.net>
Diffstat (limited to 'WireGuard/WireGuard/UI/macOS/ViewController/TunnelEditViewController.swift')
-rw-r--r--WireGuard/WireGuard/UI/macOS/ViewController/TunnelEditViewController.swift4
1 files changed, 2 insertions, 2 deletions
diff --git a/WireGuard/WireGuard/UI/macOS/ViewController/TunnelEditViewController.swift b/WireGuard/WireGuard/UI/macOS/ViewController/TunnelEditViewController.swift
index 2c1c538..1c1c054 100644
--- a/WireGuard/WireGuard/UI/macOS/ViewController/TunnelEditViewController.swift
+++ b/WireGuard/WireGuard/UI/macOS/ViewController/TunnelEditViewController.swift
@@ -82,8 +82,8 @@ class TunnelEditViewController: NSViewController {
let activateOnDemandOptions: [ActivateOnDemandOption] = [
.none,
- .anyInterface,
- .wiFiInterfaceOnly,
+ .anyInterface(.anySSID),
+ .wiFiInterfaceOnly(.anySSID),
.nonWiFiInterfaceOnly
]