Skip to content

Commit

Permalink
test(rtr): remove deprecated function rand.Seed()
Browse files Browse the repository at this point in the history
  • Loading branch information
higebu authored and fujita committed Mar 23, 2023
1 parent 8c77bbf commit 305fc65
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/packet/rtr/rtr_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ func verifyRTRMessage(t *testing.T, m1 RTRMessage) {
}

func randUint32() uint32 {
rand.Seed(time.Now().UnixNano())
return rand.Uint32()
}

Expand Down

0 comments on commit 305fc65

Please sign in to comment.