From b1e2d60f3767d55bc7cb1d7fcce0128e05c67379 Mon Sep 17 00:00:00 2001 From: Davide De Rosa Date: Fri, 17 May 2019 17:21:19 +0200 Subject: [PATCH] Make connect rule interface explicit Shouldn't make a difference but you never know with iOS. --- Passepartout/Sources/Model/ConnectionService.swift | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Passepartout/Sources/Model/ConnectionService.swift b/Passepartout/Sources/Model/ConnectionService.swift index 1b8a9bf7..0c834a3e 100644 --- a/Passepartout/Sources/Model/ConnectionService.swift +++ b/Passepartout/Sources/Model/ConnectionService.swift @@ -573,7 +573,9 @@ public class ConnectionService: Codable { rule.ssidMatch = reallyTrustedWifis rules.append(rule) } - rules.append(NEOnDemandRuleConnect()) + let connection = NEOnDemandRuleConnect() + connection.interfaceTypeMatch = .any + rules.append(connection) return NetworkExtensionVPNConfiguration(protocolConfiguration: protocolConfiguration, onDemandRules: rules) }