mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 08:44:17 -04:00
@@ -62,7 +62,7 @@ func roundRobinShuffle(records []dns.RR) {
|
|||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
for j := 0; j < l; j++ {
|
for j := 0; j < l; j++ {
|
||||||
p := j + (int(dns.Id()) % (l-j))
|
p := j + (int(dns.Id()) % (l - j))
|
||||||
if j == p {
|
if j == p {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user