From 3ff3816d77ae8399bfe03b915056735bf21cc355 Mon Sep 17 00:00:00 2001 From: Quentin McGaw Date: Thu, 9 Jun 2022 16:36:59 +0000 Subject: [PATCH] fix(pia): restrict custom port choice --- internal/configuration/settings/openvpnselection.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/internal/configuration/settings/openvpnselection.go b/internal/configuration/settings/openvpnselection.go index bb11ed66..e62e5ebe 100644 --- a/internal/configuration/settings/openvpnselection.go +++ b/internal/configuration/settings/openvpnselection.go @@ -55,8 +55,7 @@ func (o OpenVPNSelection) validate(vpnProvider string) (err error) { switch vpnProvider { // no restriction on port case providers.Cyberghost, providers.HideMyAss, - providers.PrivateInternetAccess, providers.Privatevpn, - providers.Torguard: + providers.Privatevpn, providers.Torguard: // no custom port allowed case providers.Expressvpn, providers.Fastestvpn, providers.Ipvanish, providers.Nordvpn,