Commit 1b1f6d21 authored by Mark Andrews's avatar Mark Andrews
Browse files

curr_srtt = curr->srtt

parent b9598480
......@@ -2947,7 +2947,7 @@ sort_adbfind(dns_adbfind_t *find, unsigned int bias) {
best_srtt += bias;
curr = ISC_LIST_NEXT(best, publink);
while (curr != NULL) {
curr_srtt = best->srtt;
curr_srtt = curr->srtt;
if (isc_sockaddr_pf(&curr->sockaddr) != AF_INET6)
curr_srtt += bias;
if (curr_srtt < best_srtt) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment