From 91a275543391a8412eb859963258304cc6734a8c Mon Sep 17 00:00:00 2001 From: Matthijs Mekking Date: Fri, 19 Jan 2024 15:57:45 +0100 Subject: [PATCH] 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. --- lib/dns/qpdb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/dns/qpdb.c b/lib/dns/qpdb.c index 467d8d91df..f41f4f7375 100644 --- a/lib/dns/qpdb.c +++ b/lib/dns/qpdb.c @@ -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;