version 1.3, 2019/01/09 16:55:11 |
version 1.3.2.3, 2020/04/08 14:07:07 |
Line 3209 dns_adb_createfind(dns_adb_t *adb, isc_t |
|
Line 3209 dns_adb_createfind(dns_adb_t *adb, isc_t |
|
find->partial_result |= (adbname->partial_result & wanted_addresses); |
find->partial_result |= (adbname->partial_result & wanted_addresses); |
if (alias) { |
if (alias) { |
if (target != NULL) { |
if (target != NULL) { |
result = dns_name_copy(&adbname->target, target, NULL); |
dns_name_copynf(&adbname->target, target); |
if (result != ISC_R_SUCCESS) |
|
goto out; |
|
} |
} |
result = DNS_R_ALIAS; |
result = DNS_R_ALIAS; |
} else |
} else |
Line 4179 dns_adb_changeflags(dns_adb_t *adb, dns_ |
|
Line 4177 dns_adb_changeflags(dns_adb_t *adb, dns_ |
|
} |
} |
|
|
/* |
/* |
* (10000 / ((10 + n) / 10)^(3/2)) for n in 0..99. |
* The polynomial backoff curve (10000 / ((10 + n) / 10)^(3/2)) <0..99> drops |
|
* fairly aggressively at first, then slows down and tails off at around 2-3%. |
|
* |
* These will be used to make quota adjustments. |
* These will be used to make quota adjustments. |
*/ |
*/ |
static int quota_adj[] = { |
static int quota_adj[] = { |