mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-28 21:17:54 +00:00
zones do not have resolvers
This commit is contained in:
parent
59a6d9cbcd
commit
e9d51ec4ab
@ -15,7 +15,7 @@
|
|||||||
* SOFTWARE.
|
* SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: zone.c,v 1.8 1999/09/17 14:22:06 brister Exp $ */
|
/* $Id: zone.c,v 1.9 1999/09/21 20:03:03 halley Exp $ */
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
@ -1505,6 +1505,11 @@ dns_zone_manage(dns_zone_t *zone, isc_taskmgr_t *tmgr) {
|
|||||||
isc_result_t iresult;
|
isc_result_t iresult;
|
||||||
dns_result_t result;
|
dns_result_t result;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* XXXRTH Zones do not have resolvers!!!!
|
||||||
|
*/
|
||||||
|
|
||||||
|
#if 0
|
||||||
REQUIRE(VALID_ZONE(zone));
|
REQUIRE(VALID_ZONE(zone));
|
||||||
REQUIRE(zone->task == NULL);
|
REQUIRE(zone->task == NULL);
|
||||||
REQUIRE(zone->timgr == NULL);
|
REQUIRE(zone->timgr == NULL);
|
||||||
@ -1549,6 +1554,9 @@ dns_zone_manage(dns_zone_t *zone, isc_taskmgr_t *tmgr) {
|
|||||||
|
|
||||||
dns_zone_maintenance(zone);
|
dns_zone_maintenance(zone);
|
||||||
return (DNS_R_SUCCESS);
|
return (DNS_R_SUCCESS);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
return (DNS_R_NOTIMPLEMENTED);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Loading…
x
Reference in New Issue
Block a user