Commit b9598480 authored by Mark Andrews's avatar Mark Andrews
Browse files

compare curr_srtt and best_srtt

parent 30f8d5e3
......@@ -2950,7 +2950,7 @@ sort_adbfind(dns_adbfind_t *find, unsigned int bias) {
curr_srtt = best->srtt;
if (isc_sockaddr_pf(&curr->sockaddr) != AF_INET6)
curr_srtt += bias;
if (curr->srtt < best->srtt) {
if (curr_srtt < best_srtt) {
best = curr;
best_srtt = curr_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