2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 14:07:59 +00:00

No special logic for relative names

Nodes in a QP-trie contain the full domain name, while nodes in a
red-black tree only contain names relative to a parent.
This commit is contained in:
Matthijs Mekking
2024-01-19 15:57:45 +01:00
parent 1a068c9656
commit 91a2755433

View File

@@ -2244,8 +2244,8 @@ dns__qpdb_createiterator(dns_db_t *db, unsigned int options,
qpdbiter->common.methods = &dbiterator_methods;
qpdbiter->common.db = NULL;
dns_db_attach(db, &qpdbiter->common.db);
qpdbiter->common.relative_names = ((options & DNS_DB_RELATIVENAMES) !=
0);
qpdbiter->common.relative_names = 0; /* no special logic for relative
names */
qpdbiter->common.magic = DNS_DBITERATOR_MAGIC;
qpdbiter->paused = true;
qpdbiter->tree_locked = isc_rwlocktype_none;