mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-27 17:17:22 -04:00
[master] fixed ixfr-from-difference error in previous commit
This commit is contained in:
parent
79c2400d91
commit
6b2e5cd28c
1 changed files with 8 additions and 4 deletions
|
|
@ -1312,13 +1312,17 @@ named_zone_configure(const cfg_obj_t *config, const cfg_obj_t *vconfig,
|
|||
INSIST(result == ISC_R_SUCCESS && obj != NULL);
|
||||
if (cfg_obj_isboolean(obj)) {
|
||||
ixfrdiff = cfg_obj_asboolean(obj);
|
||||
} else if (!strcasecmp(cfg_obj_asstring(obj), "primary") &&
|
||||
!strcasecmp(cfg_obj_asstring(obj), "master") &&
|
||||
} else if ((strcasecmp(cfg_obj_asstring(obj),
|
||||
"primary") == 0 ||
|
||||
strcasecmp(cfg_obj_asstring(obj),
|
||||
"master") == 0) &&
|
||||
ztype == dns_zone_master)
|
||||
{
|
||||
ixfrdiff = ISC_TRUE;
|
||||
} else if (!strcasecmp(cfg_obj_asstring(obj), "secondary") &&
|
||||
!strcasecmp(cfg_obj_asstring(obj), "slave") &&
|
||||
} else if ((strcasecmp(cfg_obj_asstring(obj),
|
||||
"secondary") == 0 ||
|
||||
strcasecmp(cfg_obj_asstring(obj),
|
||||
"slave") == 0) &&
|
||||
ztype == dns_zone_slave)
|
||||
{
|
||||
ixfrdiff = ISC_TRUE;
|
||||
|
|
|
|||
Loading…
Reference in a new issue