summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2022-06-15 16:37:38 +0200
committerkali kaneko (leap communications) <kali@leap.se>2022-06-15 16:59:02 +0200
commit351b7040f65ef987ac990dc9ffde896ea67c1611 (patch)
tree7a14a24287bcf0b499e70eb6784ecbc8451bcfee
parente5fd319fe7677eb8d289316417454664aeabdd1c (diff)
[bug] typo in --data-ciphers option
-rw-r--r--pkg/vpn/bonafide/eip_service.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/vpn/bonafide/eip_service.go b/pkg/vpn/bonafide/eip_service.go
index ba3eef8..71c9b82 100644
--- a/pkg/vpn/bonafide/eip_service.go
+++ b/pkg/vpn/bonafide/eip_service.go
@@ -241,9 +241,9 @@ func (eip eipService) getOpenvpnArgs() []string {
// this is a transitioning hack for the transition to float deployment,
// assuming we're using openvpn 2.5. We're treating the "cipher"
// string that the platform sends us as the newer data-cipher
- // which includes colon separate ciphers.
+ // which includes colon-separated ciphers.
if arg == "cipher" {
- arg = "data-cipher"
+ arg = "data-ciphers"
}
args = append(args, "--"+arg)
args = append(args, strings.Split(v, " ")...)