summaryrefslogtreecommitdiff
path: root/pkg/standalone/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/standalone/main.go')
-rw-r--r--pkg/standalone/main.go5
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