Use forked Wireguard-go for custom bind (#823)

Update go version to 1.20
Use forked wireguard-go repo because of custom Bind implementation
This commit is contained in:
Zoltan Papp
2023-04-27 17:50:45 +02:00
committed by GitHub
parent afaa3fbe4f
commit 7f5e1c623e
10 changed files with 303 additions and 198 deletions

View File

@@ -371,8 +371,8 @@ var _ = Describe("Management service", func() {
for i := 0; i < additionalPeers; i++ {
key, _ := wgtypes.GenerateKey()
loginPeerWithValidSetupKey(serverPubKey, key, client)
rand.Seed(time.Now().UnixNano())
n := rand.Intn(200)
r := rand.New(rand.NewSource(time.Now().UnixNano()))
n := r.Intn(200)
time.Sleep(time.Duration(n) * time.Millisecond)
}