about summary refs log tree commit diff
path: root/src/http.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/http.go')
-rw-r--r--src/http.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/http.go b/src/http.go
index 2c62eaf..13276f7 100644
--- a/src/http.go
+++ b/src/http.go
@@ -15,8 +15,9 @@ import (
 )
 
 var (
-	port      *int     // port the http server listens on
-	usernames []string // list of usernames
+	port                 *int     // port the http server listens on
+	usernames            []string // list of usernames
+	currentVpnRemotePort *int
 )
 
 // Credentials stores user credentials
@@ -28,6 +29,7 @@ type Credentials struct {
 
 func registerHTTPFlags() {
 	port = flag.Int("port", 8081, "The port the http server should listen on")
+	currentVpnRemotePort = flag.Int("initialVPNPort", 1194, "the initial vpn port")
 }
 
 func setupHTTPServer() http.Server {