mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-08 23:32:05 -04:00
Merge branch '4212-dead-code-in-dns_rbt-zonedb' into 'main'
Restore the IS_STUB() condition in zone_zonecut_callback Closes #4212 See merge request isc-projects/bind9!8117
This commit is contained in:
commit
e0aec97bcd
1 changed files with 1 additions and 1 deletions
|
|
@ -178,7 +178,7 @@ zone_zonecut_callback(dns_rbtnode_t *node, dns_name_t *name,
|
|||
/*
|
||||
* Did we find anything?
|
||||
*/
|
||||
if (ns_header != NULL) {
|
||||
if (!IS_STUB(search->rbtdb) && ns_header != NULL) {
|
||||
/*
|
||||
* Note that NS has precedence over DNAME if both exist
|
||||
* in a zone. Otherwise DNAME take precedence over NS.
|
||||
|
|
|
|||
Loading…
Reference in a new issue