diff --git a/acn.go b/acn.go index 65be29b..4221c69 100644 --- a/acn.go +++ b/acn.go @@ -46,7 +46,7 @@ func turnAcnOn(m *model) tea.Msg { m.acnState = connecting - mrand.Seed(int64(time.Now().Nanosecond())) + mrand.New(mrand.NewSource(int64(time.Now().Nanosecond()))) port := mrand.Intn(1000) + 9600 controlPort := port + 1