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