Commit fced495d authored by Evan Hunt's avatar Evan Hunt
Browse files

Merge branch '884-patches-to-review-3' into 'master'

fix the use of dns_wildcardname as an optimisation in DLZ

Closes #884

See merge request !1532
parents c37e7853 cb32cd98
Pipeline #11453 passed with stages
in 58 seconds
......@@ -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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment