ndb/dns: use correct attribute when serializing caa record in ndb format
This commit is contained in:
parent
5e3ded2242
commit
3cd87bc3fb
1 changed files with 2 additions and 2 deletions
|
@ -1451,9 +1451,9 @@ rravfmt(Fmt *f)
|
|||
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;
|
||||
|
|
Loading…
Reference in a new issue