fix(protonvpn): restrict custom port choice

This commit is contained in:
Quentin McGaw
2022-06-09 16:36:17 +00:00
parent 46e6bd16c9
commit c0bdae8baf

View File

@@ -56,7 +56,7 @@ func (o OpenVPNSelection) validate(vpnProvider string) (err error) {
// no restriction on port
case providers.Cyberghost, providers.HideMyAss,
providers.PrivateInternetAccess, providers.Privatevpn,
providers.Protonvpn, providers.Torguard:
providers.Torguard:
// no custom port allowed
case providers.Expressvpn, providers.Fastestvpn,
providers.Ipvanish, providers.Nordvpn,