From 5d757982ba26ab3d9a26d16b8d03ea038e6568f2 Mon Sep 17 00:00:00 2001 From: Roopesh Chander Date: Sat, 23 Feb 2019 13:56:51 +0530 Subject: on-demand: Infrastructure for supporting SSID-based rules Signed-off-by: Roopesh Chander --- .../WireGuard/UI/macOS/ViewController/TunnelEditViewController.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'WireGuard/WireGuard/UI/macOS') 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 ] -- cgit v1.2.3-59-g8ed1b