summaryrefslogtreecommitdiff
path: root/bitmask
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2019-01-08 19:24:13 +0100
committerKali Kaneko (leap communications) <kali@leap.se>2019-01-12 18:25:42 +0100
commit933ad2aeda754499753e91be05aa9f5556539d35 (patch)
treeacb104e4a984e67fc007037ed55e3b6182ee8b91 /bitmask
parentf274ec2beaf060cc8bfe4f5eb6f2ce3b5c6aa1f3 (diff)
[feat] reload firewall with SIGUSR1
- Resolves: riseup_vpn#46
Diffstat (limited to 'bitmask')
-rw-r--r--bitmask/bitmask.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/bitmask/bitmask.go b/bitmask/bitmask.go
index f9b1cc9..a7aabaa 100644
--- a/bitmask/bitmask.go
+++ b/bitmask/bitmask.go
@@ -21,6 +21,7 @@ type Bitmask interface {
Version() (string, error)
StartVPN(provider string) error
StopVPN() error
+ ReloadFirewall() error
GetStatus() (string, error)
InstallHelpers() error
VPNCheck() (helpers bool, priviledge bool, err error)