feat(log): warn Openvpn 2.4 is to be removed

This commit is contained in:
Quentin McGaw
2023-04-01 15:24:42 +00:00
parent c246dae2cc
commit d457342b46

View File

@@ -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
}