mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-22 23:01:43 -04:00
report duplicate zones with file name and line number even if
they are not caught by the configuration checking code, which is the case if they are spelled differently [RT #1806]
This commit is contained in:
parent
846474d5a6
commit
e5100b1367
1 changed files with 3 additions and 1 deletions
|
|
@ -15,7 +15,7 @@
|
|||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: server.c,v 1.347 2001/09/27 22:46:35 gson Exp $ */
|
||||
/* $Id: server.c,v 1.348 2001/09/28 18:19:34 gson Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
|
|
@ -1345,6 +1345,8 @@ configure_zone(cfg_obj_t *config, cfg_obj_t *zconfig, cfg_obj_t *vconfig,
|
|||
/*
|
||||
* We already have this zone!
|
||||
*/
|
||||
cfg_obj_log(zconfig, ns_g_lctx, ISC_LOG_ERROR,
|
||||
"zone '%s' already exists", zname);
|
||||
dns_zone_detach(&dupzone);
|
||||
result = ISC_R_EXISTS;
|
||||
goto cleanup;
|
||||
|
|
|
|||
Loading…
Reference in a new issue