diff --git a/derp/derp_server.go b/derp/derp_server.go index 1a03012a4..b5085ff10 100644 --- a/derp/derp_server.go +++ b/derp/derp_server.go @@ -69,10 +69,6 @@ func init() { } } -func init() { - rand.Seed(time.Now().UnixNano()) -} - const ( perClientSendQueueDepth = 32 // packets buffered for sending writeTimeout = 2 * time.Second diff --git a/ipn/ipnlocal/profiles.go b/ipn/ipnlocal/profiles.go index 6acdacc30..7643084a9 100644 --- a/ipn/ipnlocal/profiles.go +++ b/ipn/ipnlocal/profiles.go @@ -12,7 +12,6 @@ import ( "runtime" "slices" "strings" - "time" "tailscale.com/clientupdate" "tailscale.com/envknob" @@ -198,10 +197,6 @@ func (pm *profileManager) Reset() { pm.NewProfile() } -func init() { - rand.Seed(time.Now().UnixNano()) -} - // SetPrefs sets the current profile's prefs to the provided value. // It also saves the prefs to the StateStore. It stores a copy of the // provided prefs, which may be accessed via CurrentPrefs.