+ 635. [bug] Reloading a server with a configured blackhole list
+ would cause an assertion. [RT #590]
+
634. [bug] A log file will completely stop being written when
it reaches the maximum size in all cases, not just
when versioning is also enabled. [RT #570]
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: dispatch.c,v 1.77 2000/12/20 19:46:37 gson Exp $ */
+/* $Id: dispatch.c,v 1.78 2000/12/26 09:48:41 bwelling Exp $ */
#include <config.h>
void
dns_dispatchmgr_setblackhole(dns_dispatchmgr_t *mgr, dns_acl_t *blackhole) {
REQUIRE(VALID_DISPATCHMGR(mgr));
- REQUIRE(mgr->blackhole == NULL);
+ if (mgr->blackhole != NULL)
+ dns_acl_detach(&mgr->blackhole);
dns_acl_attach(blackhole, &mgr->blackhole);
}