mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 22:15:20 +00:00
fix the use of dns_wildcardname as an optimisation in DLZ
This commit is contained in:
@@ -613,9 +613,9 @@ getnodedata(dns_db_t *db, const dns_name_t *name, bool create,
|
||||
const dns_name_t *wild;
|
||||
|
||||
dns_fixedname_init(&fixed);
|
||||
if (i == dlabels)
|
||||
if (i == dlabels - 1) {
|
||||
wild = dns_wildcardname;
|
||||
else {
|
||||
} else {
|
||||
dns_name_t *fname;
|
||||
fname = dns_fixedname_name(&fixed);
|
||||
dns_name_getlabelsequence(name, i + 1,
|
||||
|
Reference in New Issue
Block a user