shithub: plan9front

Download patch

ref: 41369692bf818fdee290d357bdb27fdb71487b92
parent: 87a823332f9eaa4ff1e72f8524f6e59d1cc4f407
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	Mon Sep  6 17:04:35 2021
+++ b/sys/src/cmd/ndb/dblookup.c	Wed Sep  8 09:34:23 2021
@@ -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;