Skip to content
Snippets Groups Projects
Commit b89ca454 authored by Lubos Slovak's avatar Lubos Slovak
Browse files

Parsing RDATA from packet.

refs #816
parent 76c3923a
No related branches found
No related tags found
No related merge requests found
......@@ -408,7 +408,14 @@ static dnslib_rdata_t *dnslib_packet_parse_rdata(const uint8_t *wire,
return NULL;
}
/*! @todo Implement! */
int rc = dnslib_rdata_from_wire(rdata, wire, pos, total_size, rdlength,
desc);
if (rc != DNSLIB_EOK) {
dnslib_rdata_free(&rdata);
return NULL;
}
return rdata;
}
/*----------------------------------------------------------------------------*/
......
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