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;
|
break;
|
||||||
case Tcaa:
|
case Tcaa:
|
||||||
if (rp->caa == nil)
|
if (rp->caa == nil)
|
||||||
fmtprint(&fstr, " flags=<null> tag=<null> value=<null>");
|
fmtprint(&fstr, " flags=<null> tag=<null> caa=<null>");
|
||||||
else
|
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->flags, dnname(rp->caa->tag),
|
||||||
rp->caa->dlen, (char*)rp->caa->data);
|
rp->caa->dlen, (char*)rp->caa->data);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue