diff options
Diffstat (limited to 'pkg/vpn/main.go')
-rw-r--r-- | pkg/vpn/main.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkg/vpn/main.go b/pkg/vpn/main.go index 9ddd9fd..29b843b 100644 --- a/pkg/vpn/main.go +++ b/pkg/vpn/main.go @@ -29,7 +29,7 @@ import ( // Bitmask holds the bitmask client data type Bitmask struct { tempdir string - onGateway string + onGateway bonafide.Gateway statusCh chan string managementClient *openvpn.MgmtClient bonafide *bonafide.Bonafide @@ -45,12 +45,12 @@ func Init() (*Bitmask, error) { if err != nil { return nil, err } - bonafide := bonafide.New() + bf := bonafide.New() launch, err := newLauncher() if err != nil { return nil, err } - b := Bitmask{tempdir, "", statusCh, nil, bonafide, launch, "", nil} + b := Bitmask{tempdir, bonafide.Gateway{}, statusCh, nil, bf, launch, "", nil} /* TODO -- we still want to do this, since it resets the fw/vpn if running |