fix(expressvpn): OpenVPN fragment option and add ciphers (#1047)

* Fragment was defined in `OpenVPNProviderSettings` but was not written to the OpenVPN configuration file.
* Added two additional ciphers to the configuration for ExpressVPN

Authored-by: barino86 <barino@mac.com>
This commit is contained in:
barino28
2022-06-29 07:23:16 -05:00
committed by GitHub
parent 87dbae5745
commit 9f959dbc6a
2 changed files with 5 additions and 1 deletions

View File

@@ -136,6 +136,10 @@ func OpenVPNConfig(provider OpenVPNProviderSettings,
lines.add("mssfix", fmt.Sprint(mssFix))
}
if provider.Fragment > 0 {
lines.add("fragment", fmt.Sprint(provider.Fragment))
}
if provider.SndBuf > 0 {
lines.add("sndbuf", fmt.Sprint(provider.SndBuf))
}