362. [bug] rndc no longer aborts if the configuration file is
missing an options statement. [RT #209]
--- 9.0.0rc2 released ---
+ 362. [bug] rndc no longer aborts if the configuration file is
+ missing an options statement. [RT #209]
+
354. [doc] Man pages for the dnssec tools are now included in
the distribution, in doc/man/dnssec.
* SOFTWARE.
*/
-/* $Id: rndc.c,v 1.12.2.5 2000/07/12 01:18:55 gson Exp $ */
+/* $Id: rndc.c,v 1.12.2.6 2000/08/02 20:59:13 gson Exp $ */
/*
* Principal Author: DCL
(void)dns_c_ndcctx_getoptions(config, &configopts);
- if (servername == NULL)
+ if (servername == NULL && configopts != NULL)
result = dns_c_ndcopts_getdefserver(configopts, &servername);
if (servername != NULL)
else {
fprintf(stderr, "%s: no server specified and no default\n",
progname);
- exit (1);
+ exit(1);
}
/*