This commit is contained in:
Patricio Whittingslow
2026-08-24 22:03:42 -03:00
parent c879d0497c
commit 56f943ed30
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1216,7 +1216,7 @@ func TestEphemeralPortSequence(t *testing.T) {
}
const cycle = 16384
var seen [cycle]bool
for i := 0; i < cycle; i++ {
for i := range cycle {
port := s.ephemeralPort()
if port < 49152 {
t.Fatalf("port %d below dynamic range (RFC 6335)", port)