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 5f5117a..f40366c 100644
--- a/pkg/vpn/main.go
+++ b/pkg/vpn/main.go
@@ -30,6 +30,7 @@ import (
type Bitmask struct {
tempdir string
onGateway bonafide.Gateway
+ ptGateway bonafide.Gateway
statusCh chan string
managementClient *openvpn.MgmtClient
bonafide *bonafide.Bonafide
@@ -52,7 +53,7 @@ func Init() (*Bitmask, error) {
if err != nil {
return nil, err
}
- b := Bitmask{tempdir, bonafide.Gateway{}, statusCh, nil, bf, launch, "", nil, "", []string{}}
+ b := Bitmask{tempdir, bonafide.Gateway{}, bonafide.Gateway{}, statusCh, nil, bf, launch, "", nil, "", []string{}}
b.launch.firewallStop()
/*