mirror of
https://github.com/isc-projects/bind9.git
synced 2026-03-01 21:10:55 -05:00
fix the use of dns_wildcardname as an optimisation in DLZ
This commit is contained in:
parent
c37e78539c
commit
cb32cd98bd
1 changed files with 2 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue