summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--ios/MullvadVPN/RelaySelector.swift3
1 files changed, 2 insertions, 1 deletions
diff --git a/ios/MullvadVPN/RelaySelector.swift b/ios/MullvadVPN/RelaySelector.swift
index e5504d6ce2..716a62fc9a 100644
--- a/ios/MullvadVPN/RelaySelector.swift
+++ b/ios/MullvadVPN/RelaySelector.swift
@@ -74,7 +74,8 @@ struct RelaySelector {
case .only(let relayConstraint):
switch relayConstraint {
case .country(let countryCode):
- return relayWithLocation.location.countryCode == countryCode
+ return relayWithLocation.location.countryCode == countryCode &&
+ relayWithLocation.relay.includeInCountry
case .city(let countryCode, let cityCode):
return relayWithLocation.location.countryCode == countryCode &&