From 9b9b723887af1f87d6e9beda06e35cfaabf3f0ea Mon Sep 17 00:00:00 2001 From: Quentin McGaw Date: Mon, 29 Dec 2025 05:28:13 +0000 Subject: [PATCH] chore(mullvad): add openvpn removal warning --- internal/configuration/settings/provider.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/internal/configuration/settings/provider.go b/internal/configuration/settings/provider.go index 70b5d948..68945dc0 100644 --- a/internal/configuration/settings/provider.go +++ b/internal/configuration/settings/provider.go @@ -48,6 +48,10 @@ func (p *Provider) validate(vpnType string, filterChoicesGetter FilterChoicesGet return fmt.Errorf("%w for Wireguard: %w", ErrVPNProviderNameNotValid, err) } + if p.Name == providers.Mullvad && vpnType == vpn.OpenVPN { + warner.Warn("https://mullvad.net/en/blog/removing-openvpn-15th-january-2026") + } + err = p.ServerSelection.validate(p.Name, filterChoicesGetter, warner) if err != nil { return fmt.Errorf("server selection: %w", err)