summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2021-11-30 15:45:27 +0100
committerkali kaneko (leap communications) <kali@leap.se>2021-11-30 21:22:39 +0100
commit5b8be038a62765c392a5bc73c764245977af1c84 (patch)
tree87a27b79b98ceae99523fd7140f9799ca849fa87 /pkg
parent9103f2f8de3ec59c0b256bf600b5abf30e05a345 (diff)
[bug] let's float
Diffstat (limited to 'pkg')
-rw-r--r--pkg/vpn/openvpn.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/vpn/openvpn.go b/pkg/vpn/openvpn.go
index 673dc2c..d4e6330 100644
--- a/pkg/vpn/openvpn.go
+++ b/pkg/vpn/openvpn.go
@@ -181,7 +181,8 @@ func (b *Bitmask) startOpenVPN() error {
"--ca", b.getTempCaCertPath(),
"--cert", b.certPemPath,
"--key", b.certPemPath,
- "--persist-tun")
+ "--persist-tun",
+ "--float")
/* persist-tun is needed for reconnects */
return b.launch.openvpnStart(arg...)
}