From d457342b46a84c20ae8deaaafb291cb9dd4bda96 Mon Sep 17 00:00:00 2001 From: Quentin McGaw Date: Sat, 1 Apr 2023 15:24:42 +0000 Subject: [PATCH] feat(log): warn Openvpn 2.4 is to be removed --- internal/configuration/settings/settings.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/internal/configuration/settings/settings.go b/internal/configuration/settings/settings.go index 8fbca02d..0f330680 100644 --- a/internal/configuration/settings/settings.go +++ b/internal/configuration/settings/settings.go @@ -183,5 +183,10 @@ func (s Settings) Warnings() (warnings []string) { } } + if s.VPN.OpenVPN.Version == openvpn.Openvpn24 { + warnings = append(warnings, "OpenVPN 2.4 will be removed in release v3.34.0 (around June 2023). "+ + "Please create an issue if you have a compelling reason to keep it.") + } + return warnings }