mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
2210. [bug] Deleting class specific records via UPDATE could
fail. [RT #17074]
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: message.c,v 1.236 2007/06/18 23:47:40 tbox Exp $ */
|
||||
/* $Id: message.c,v 1.237 2007/08/14 00:25:08 marka Exp $ */
|
||||
|
||||
/*! \file */
|
||||
|
||||
@@ -1337,6 +1337,11 @@ getsection(isc_buffer_t *source, dns_message_t *msg, dns_decompress_t *dctx,
|
||||
rdata->type = rdtype;
|
||||
rdata->flags = DNS_RDATA_UPDATE;
|
||||
result = ISC_R_SUCCESS;
|
||||
} else if (rdclass == dns_rdataclass_none &&
|
||||
msg->opcode == dns_opcode_update &&
|
||||
sectionid == DNS_SECTION_UPDATE) {
|
||||
result = getrdata(source, msg, dctx, msg->rdclass,
|
||||
rdtype, rdatalen, rdata);
|
||||
} else
|
||||
result = getrdata(source, msg, dctx, rdclass,
|
||||
rdtype, rdatalen, rdata);
|
||||
|
Reference in New Issue
Block a user