git: 9front

Download patch

ref: 11ddce8ec4258e422a9ef79052858bacb0417a6d
parent: 15af1cfdc0e60fa26d61deeb63709e8459d4a69e
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Wed Sep 8 09:34:23 EDT 2021

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

--- a/sys/src/cmd/ndb/dblookup.c
+++ b/sys/src/cmd/ndb/dblookup.c
@@ -613,7 +613,7 @@
 		rp = cnamerr(entry, pair);
 	else if(strcmp(pair->attr, "nullrr") == 0)
 		rp = nullrr(entry, pair);
-	else if(strcmp(pair->attr, "txtrr") == 0)
+	else if(strcmp(pair->attr, "txt") == 0)
 		rp = txtrr(entry, pair);
 	if(rp == nil)
 		return;
--