diff options
Diffstat (limited to 'pkg/helper/helper.go')
-rw-r--r-- | pkg/helper/helper.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/helper/helper.go b/pkg/helper/helper.go index ab1894e..b5404c2 100644 --- a/pkg/helper/helper.go +++ b/pkg/helper/helper.go @@ -37,10 +37,10 @@ func runCommandServer(bindAddr string) { log.Fatal(http.ListenAndServe(bindAddr, nil)) } -func ServeHTTP(bindAddr string) { +func ServeHTTP(port int) { parseCliArgs() daemonize() - doHandleCommands(bindAddr) + doHandleCommands(port) } func (openvpn *openvpnT) start(w http.ResponseWriter, r *http.Request) { |