summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2019-08-28 01:28:13 +0200
committerKali Kaneko (leap communications) <kali@leap.se>2019-08-28 19:23:28 +0200
commit5c04a9161b1b7ffa3514310a02310b620f323517 (patch)
tree8918fe17bd9f851a0198b988d7236339de08002b
parent0db948e88d46818164c820e4915b0e9addc4d07f (diff)
[bug] gateway now lives in bonafide
-rw-r--r--pkg/standalone/launcher.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkg/standalone/launcher.go b/pkg/standalone/launcher.go
index 16ea8b0..36d7ab0 100644
--- a/pkg/standalone/launcher.go
+++ b/pkg/standalone/launcher.go
@@ -23,6 +23,8 @@ import (
"io"
"io/ioutil"
"net/http"
+
+ "0xacab.org/leap/bitmask-vpn/pkg/standalone/bonafide"
)
const (
@@ -56,7 +58,7 @@ func (l *launcher) openvpnStop() error {
return l.send("/openvpn/stop", nil)
}
-func (l *launcher) firewallStart(gateways []gateway) error {
+func (l *launcher) firewallStart(gateways []bonafide.Gateway) error {
ipList := make([]string, len(gateways))
for i, gw := range gateways {
ipList[i] = gw.IPAddress