diff options
author | Ruben Pollan <meskio@sindominio.net> | 2019-06-19 10:26:19 +0200 |
---|---|---|
committer | Ruben Pollan <meskio@sindominio.net> | 2019-08-16 22:58:45 +0200 |
commit | 35aaba1e0da53aed44a5741ca9a3a1e2de21baf5 (patch) | |
tree | a019f70b8e76a8cd845be960fa7d9f8d21f16e64 /pkg/standalone/main.go | |
parent | 78ee21c4a87d2e13c4f682162f15aa6411bea592 (diff) |
[refactor] bonafide to parse eip-service.json v3
Diffstat (limited to 'pkg/standalone/main.go')
-rw-r--r-- | pkg/standalone/main.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkg/standalone/main.go b/pkg/standalone/main.go index 319af79..e19634c 100644 --- a/pkg/standalone/main.go +++ b/pkg/standalone/main.go @@ -21,6 +21,7 @@ import ( "os" "0xacab.org/leap/bitmask-vpn/pkg/config" + "0xacab.org/leap/bitmask-vpn/pkg/standalone/bonafide" "github.com/apparentlymart/go-openvpn-mgmt/openvpn" ) @@ -29,7 +30,7 @@ type Bitmask struct { tempdir string statusCh chan string managementClient *openvpn.MgmtClient - bonafide *bonafide + bonafide *bonafide.Bonafide launch *launcher } @@ -40,7 +41,7 @@ func Init() (*Bitmask, error) { if err != nil { return nil, err } - bonafide := newBonafide() + bonafide := bonafide.New() launch, err := newLauncher() if err != nil { return nil, err |