2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

statistics-file had incorrect default value if the configuration did not

load completely
This commit is contained in:
Andreas Gustafsson
2001-03-27 18:17:09 +00:00
parent 622df0afb8
commit a95181f3f2

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: server.c,v 1.312 2001/03/27 00:44:34 bwelling Exp $ */
/* $Id: server.c,v 1.313 2001/03/27 18:17:09 gson Exp $ */
#include <config.h>
@@ -2249,7 +2249,7 @@ ns_server_create(isc_mem_t *mctx, ns_server_t **serverp) {
CHECKFATAL(dns_stats_alloccounters(ns_g_mctx, &server->querystats),
"dns_stats_alloccounters");
server->dumpfile = isc_mem_strdup(server->mctx, "named.dump");
server->dumpfile = isc_mem_strdup(server->mctx, "named_dump.db");
CHECKFATAL(server->dumpfile == NULL ? ISC_R_NOMEMORY : ISC_R_SUCCESS,
"isc_mem_strdup");