about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main.go b/src/main.go
index ff76b45..91e453e 100644
--- a/src/main.go
+++ b/src/main.go
@@ -3,9 +3,11 @@ package main
 import (
 	"flag"
 	"log"
+	"math/rand"
 	"net/http"
 	"os"
 	"os/signal"
+	"time"
 )
 
 func main() {
@@ -25,6 +27,10 @@ func main() {
 		log.Fatalln(readChallengesError.Error())
 	}
 
+	// Seed the random number generator
+	log.Println("Seed random number generator")
+	rand.Seed(time.Now().UTC().UnixNano())
+
 	// Start our VPN container and network
 	log.Printf("Starting VPN container ('%s')", vpnContainerName)
 	startVPNError := startVPN()