2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

class to rdclass

This commit is contained in:
Bob Halley
1999-08-02 22:19:30 +00:00
parent d981ca6455
commit 0e919917cc
3 changed files with 8 additions and 8 deletions

View File

@@ -725,7 +725,7 @@ getrdata(dns_name_t *name, isc_buffer_t *source, dns_message_t *msg,
*/
rdata->data = (unsigned char *)"";
rdata->length = 0;
rdata->class = rdclass;
rdata->rdclass = rdclass;
rdata->type = rdtype;
return DNS_R_SUCCESS;
}
@@ -1048,7 +1048,7 @@ getsection(isc_buffer_t *source, dns_message_t *msg, dns_decompress_t *dctx,
msg->rdclass, rdtype, rdatalen, rdata);
if (result != DNS_R_SUCCESS)
return (result);
rdata->class = rdclass;
rdata->rdclass = rdclass;
/*
* XXXMLG Perform a totally ugly hack here to pull