ref: 3cd87bc3fb9dc523c7299f17f5266461e2667fa6
parent: 5e3ded2242365aa3911b4095393209d35671f567
author: cinap_lenrek <[email protected]>
date: Mon Nov 1 11:12:17 EDT 2021
ndb/dns: use correct attribute when serializing caa record in ndb format
--- a/sys/src/cmd/ndb/dn.c
+++ b/sys/src/cmd/ndb/dn.c
@@ -1451,9 +1451,9 @@
break;
case Tcaa:
if (rp->caa == nil)
- fmtprint(&fstr, " flags=<null> tag=<null> value=<null>");
+ fmtprint(&fstr, " flags=<null> tag=<null> caa=<null>");
else
- fmtprint(&fstr, " flags=%d tag=%s value=%.*s",
+ fmtprint(&fstr, " flags=%d tag=%s caa=\"%.*s\"",
rp->caa->flags, dnname(rp->caa->tag),
rp->caa->dlen, (char*)rp->caa->data);
break;