mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-09 02:52:08 -04:00
remove redundant check
This commit is contained in:
parent
f0261e88a8
commit
9054558fbd
1 changed files with 1 additions and 6 deletions
|
|
@ -15,7 +15,7 @@
|
|||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: named-checkconf.c,v 1.14 2001/09/17 00:23:10 marka Exp $ */
|
||||
/* $Id: named-checkconf.c,v 1.15 2001/09/17 02:59:01 marka Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
|
|
@ -99,11 +99,6 @@ configure_zone(const char *vclass, const char *view, cfg_obj_t *zconfig,
|
|||
zclass = vclass;
|
||||
else
|
||||
zclass = cfg_obj_asstring(classobj);
|
||||
if (strcasecmp(vclass, zclass) != 0) {
|
||||
fprintf(stderr, "wrong class: view %s/%s: zone %s/%s\n",
|
||||
view, vclass, zname, zclass);
|
||||
return (ISC_R_FAILURE);
|
||||
}
|
||||
zoptions = cfg_tuple_get(zconfig, "options");
|
||||
cfg_map_get(zoptions, "type", &typeobj);
|
||||
if (typeobj == NULL)
|
||||
|
|
|
|||
Loading…
Reference in a new issue