mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-29 18:09:11 -04:00
2210. [bug] Deleting class specific records via UPDATE could
fail. [RT #17074]
This commit is contained in:
parent
4be0ef79e0
commit
1fcfbb18ef
2 changed files with 9 additions and 1 deletions
3
CHANGES
3
CHANGES
|
|
@ -1,3 +1,6 @@
|
|||
2210. [bug] Deleting class specific records via UPDATE could
|
||||
fail. [RT #17074]
|
||||
|
||||
2209. [port] osx: linking against user supplied static OpenSSL
|
||||
libraries failed as the system ones were still being
|
||||
found. [RT #17078]
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: message.c,v 1.194.2.22 2007/05/15 23:45:26 tbox Exp $ */
|
||||
/* $Id: message.c,v 1.194.2.23 2007/08/14 00:32:13 marka Exp $ */
|
||||
|
||||
/***
|
||||
*** Imports
|
||||
|
|
@ -1305,6 +1305,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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue