ndb/dns: fix wrong ndb attribute "txtrr" vs. "txt" for caching server

This commit is contained in:
cinap_lenrek 2021-09-08 13:34:23 +00:00
parent 87a823332f
commit 41369692bf

View file

@ -613,7 +613,7 @@ dbpair2cache(DN *dp, Ndbtuple *entry, Ndbtuple *pair)
rp = cnamerr(entry, pair); rp = cnamerr(entry, pair);
else if(strcmp(pair->attr, "nullrr") == 0) else if(strcmp(pair->attr, "nullrr") == 0)
rp = nullrr(entry, pair); rp = nullrr(entry, pair);
else if(strcmp(pair->attr, "txtrr") == 0) else if(strcmp(pair->attr, "txt") == 0)
rp = txtrr(entry, pair); rp = txtrr(entry, pair);
if(rp == nil) if(rp == nil)
return; return;