summaryrefslogtreecommitdiff
path: root/helper/linux.go
diff options
context:
space:
mode:
Diffstat (limited to 'helper/linux.go')
-rw-r--r--helper/linux.go9
1 files changed, 4 insertions, 5 deletions
diff --git a/helper/linux.go b/helper/linux.go
index 5b167fb..ba43d82 100644
--- a/helper/linux.go
+++ b/helper/linux.go
@@ -18,7 +18,6 @@ package main
import (
"log"
- "net/http"
"os"
"os/exec"
)
@@ -40,12 +39,12 @@ func kill(cmd *exec.Cmd) error {
return cmd.Process.Signal(os.Interrupt)
}
-type firewallT struct{}
-
-func (firewall *firewallT) start(w http.ResponseWriter, r *http.Request) {
+func firewallStart(gateways []string) error {
log.Println("Start firewall: do nothing, not implemented")
+ return nil
}
-func (firewall *firewallT) stop(w http.ResponseWriter, r *http.Request) {
+func firewallStop() error {
log.Println("Stop firewall: do nothing, not implemented")
+ return nil
}