1323. [func] Option 'flush-zones-on-shutdown <boolean>;'.
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
1323. [func] Option 'flush-zones-on-shutdown <boolean>;'.
|
||||
|
||||
1322. [func] Extended rndc dumpdb to support dumping of zones and
|
||||
view selection: 'dumpdb [-all|-zones|-cache] [view]'.
|
||||
|
||||
|
||||
+9
-1
@@ -15,7 +15,7 @@
|
||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: server.c,v 1.377 2002/06/13 05:12:53 marka Exp $ */
|
||||
/* $Id: server.c,v 1.378 2002/06/13 05:54:34 marka Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
@@ -2011,6 +2011,14 @@ load_configuration(const char *filename, ns_server_t *server,
|
||||
server->hostname_set = ISC_FALSE;
|
||||
}
|
||||
|
||||
obj = NULL;
|
||||
result = ns_config_get(maps, "flush-zones-on-shutdown", &obj);
|
||||
if (result == ISC_R_SUCCESS) {
|
||||
server->flushonshutdown = cfg_obj_asboolean(obj);
|
||||
} else {
|
||||
server->flushonshutdown = ISC_FALSE;
|
||||
}
|
||||
|
||||
result = ISC_R_SUCCESS;
|
||||
|
||||
cleanup:
|
||||
|
||||
Reference in New Issue
Block a user