summaryrefslogtreecommitdiff
path: root/bitmask_go/bonafide.go
diff options
context:
space:
mode:
Diffstat (limited to 'bitmask_go/bonafide.go')
-rw-r--r--bitmask_go/bonafide.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/bitmask_go/bonafide.go b/bitmask_go/bonafide.go
index 97d83c9..449383e 100644
--- a/bitmask_go/bonafide.go
+++ b/bitmask_go/bonafide.go
@@ -25,6 +25,7 @@ import (
"net/http"
"sort"
"strconv"
+ "strings"
"time"
)
@@ -150,7 +151,8 @@ func (b *bonafide) getOpenvpnArgs() ([]string, error) {
for arg, value := range b.eip.OpenvpnConfiguration {
switch v := value.(type) {
case string:
- args = append(args, "--"+arg, v)
+ args = append(args, "--"+arg)
+ args = append(args, strings.Split(v, " ")...)
case bool:
if v {
args = append(args, "--"+arg)