Feat: specify Openvpn flags with OPENVPN_FLAGS

This commit is contained in:
Quentin McGaw (desktop)
2021-07-19 15:10:53 +00:00
parent fd39bc8518
commit 394abbbe35
6 changed files with 25 additions and 5 deletions

View File

@@ -11,7 +11,8 @@ import (
func Test_OpenVPN_JSON(t *testing.T) {
t.Parallel()
in := OpenVPN{
Root: true,
Root: true,
Flags: []string{},
Provider: Provider{
Name: "name",
},
@@ -22,6 +23,7 @@ func Test_OpenVPN_JSON(t *testing.T) {
"user": "",
"password": "",
"verbosity": 0,
"flags": [],
"mssfix": 0,
"run_as_root": true,
"cipher": "",