Fix external links - fifth iteration (#30697) (#30755)

This commit is contained in:
Andrei Arlou 2021-10-07 11:46:54 +03:00 committed by GitHub
parent 084e44dcf2
commit b468efd95b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 9 additions and 9 deletions

View file

@ -47,7 +47,7 @@ class ScalaUdpMulticastSpec
val iterator = ipv6ifaces.iterator
while (!foundOneThatWorked && iterator.hasNext) {
val ipv6iface = iterator.next()
// host assigned link local multicast address http://tools.ietf.org/html/rfc3307#section-4.3.2
// host assigned link local multicast address https://www.rfc-editor.org/rfc/rfc3307#section-4.3.2
// generate a random 32 bit multicast address with the high order bit set
val randomAddress: String = (Random.nextInt().abs.toLong | (1L << 31)).toHexString.toUpperCase
val group = randomAddress.grouped(4).mkString("FF02::", ":", "")