diff --git a/cmd/connect.go b/cmd/connect.go index 1f8c307..21cbbc9 100644 --- a/cmd/connect.go +++ b/cmd/connect.go @@ -2,6 +2,7 @@ package cmd import ( "encoding/base64" + "time" "fmt" "io/ioutil" @@ -52,6 +53,7 @@ var connectCmd = &cobra.Command{ if flagRandom { // Select a random server + rand.Seed(time.Now().UnixNano()) serverSelected = (*vpnServers)[rand.Intn(len(*vpnServers))] } else {