Skip to content
Snippets Groups Projects
Commit 8ce134c4 authored by Marek Vavrusa's avatar Marek Vavrusa
Browse files

TSIG RR serializing placeholder, needs to be reimplemented.

parent a5b5b6ae
No related branches found
No related tags found
No related merge requests found
......@@ -43,6 +43,14 @@ int rdata_write_mem(char* dst, size_t maxlen, const knot_rdata_t *rdata,
wb += ret;
return wb;
}
/*! \todo Implement for TSIG. */
if (type == KNOT_RRTYPE_TSIG) {
ret = snprintf(dst+wb, maxlen-wb, "TSIG NOT YET IMPLEMENTED");
if (ret < 0 || ret >= maxlen-wb) return KNOT_ESPACE;
wb += ret;
return wb;
}
for (int i = 0; i < rdata->count; i++) {
item_str = rdata_item_to_string(desc->zoneformat[i],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment