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