mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 22:15:20 +00:00
Fix recursive-clients 0
Setting recursive-clients 0 triggered an assertion in isc_quota_soft. This has now been fixed.
This commit is contained in:
@@ -36,7 +36,6 @@ isc_quota_init(isc_quota_t *quota, unsigned int max) {
|
||||
void
|
||||
isc_quota_soft(isc_quota_t *quota, unsigned int soft) {
|
||||
REQUIRE(VALID_QUOTA(quota));
|
||||
REQUIRE(atomic_load_relaxed("a->max) > soft);
|
||||
atomic_store_relaxed("a->soft, soft);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user