diff options
author | kali kaneko (leap communications) <kali@leap.se> | 2021-11-30 15:45:27 +0100 |
---|---|---|
committer | kali kaneko (leap communications) <kali@leap.se> | 2021-11-30 21:22:39 +0100 |
commit | 5b8be038a62765c392a5bc73c764245977af1c84 (patch) | |
tree | 87a27b79b98ceae99523fd7140f9799ca849fa87 | |
parent | 9103f2f8de3ec59c0b256bf600b5abf30e05a345 (diff) |
[bug] let's float
-rw-r--r-- | helpers/bitmask-root | 1 | ||||
-rw-r--r-- | pkg/vpn/openvpn.go | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/helpers/bitmask-root b/helpers/bitmask-root index ed0fe8e..6bb97e2 100644 --- a/helpers/bitmask-root +++ b/helpers/bitmask-root @@ -167,6 +167,7 @@ ALLOWED_FLAGS = { "--verb": ["NUMBER"], "--management-client": [], "--tun-ipv6": [], + "--float: [], } PARAM_FORMATS = { 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...) } |