summaryrefslogtreecommitdiff
path: root/pkg/standalone/launcher_linux.go
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2019-06-19 10:26:19 +0200
committerRuben Pollan <meskio@sindominio.net>2019-08-16 22:58:45 +0200
commit35aaba1e0da53aed44a5741ca9a3a1e2de21baf5 (patch)
treea019f70b8e76a8cd845be960fa7d9f8d21f16e64 /pkg/standalone/launcher_linux.go
parent78ee21c4a87d2e13c4f682162f15aa6411bea592 (diff)
[refactor] bonafide to parse eip-service.json v3
Diffstat (limited to 'pkg/standalone/launcher_linux.go')
-rw-r--r--pkg/standalone/launcher_linux.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/standalone/launcher_linux.go b/pkg/standalone/launcher_linux.go
index 39355c9..f2d0392 100644
--- a/pkg/standalone/launcher_linux.go
+++ b/pkg/standalone/launcher_linux.go
@@ -24,6 +24,7 @@ import (
"strings"
"0xacab.org/leap/bitmask-vpn/pkg/config"
+ "0xacab.org/leap/bitmask-vpn/pkg/standalone/bonafide"
"github.com/mitchellh/go-ps"
)
@@ -144,7 +145,7 @@ func (l *launcher) openvpnStop() error {
return runBitmaskRoot("openvpn", "stop")
}
-func (l *launcher) firewallStart(gateways []gateway) error {
+func (l *launcher) firewallStart(gateways []bonafide.Gateway) error {
log.Println("firewall start")
arg := []string{"firewall", "start"}
for _, gw := range gateways {