summaryrefslogtreecommitdiff
path: root/pkg/vpn/main.go
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2021-09-17 19:50:17 +0200
committerkali kaneko (leap communications) <kali@leap.se>2021-11-23 21:51:06 +0100
commitd6c712d1b127d018c829b0b006fd94749916fb7d (patch)
treeadadcde56e0178d83bca1a25ade24b921d670773 /pkg/vpn/main.go
parent9413b50cba3d8b4c9a8b6474729483b775aa5619 (diff)
[ui] track failed state
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 3a1f521..0671877 100644
--- a/pkg/vpn/main.go
+++ b/pkg/vpn/main.go
@@ -39,6 +39,7 @@ type Bitmask struct {
shapes *shapeshifter.ShapeShifter
certPemPath string
openvpnArgs []string
+ failed bool
}
// Init the connection to bitmask
@@ -53,7 +54,7 @@ func Init() (*Bitmask, error) {
if err != nil {
return nil, err
}
- b := Bitmask{tempdir, bonafide.Gateway{}, bonafide.Gateway{}, statusCh, nil, bf, launch, "", nil, "", []string{}}
+ b := Bitmask{tempdir, bonafide.Gateway{}, bonafide.Gateway{}, statusCh, nil, bf, launch, "", nil, "", []string{}, false}
b.launch.firewallStop()
/*