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:
@@ -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))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user