mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 05:28:00 +00:00
1225. [func] dns_message_setopt() no longer requires that
dns_message_renderbegin() to have been called.
This commit is contained in:
parent
d5f7e6c8a1
commit
603d1d1e20
3
CHANGES
3
CHANGES
@ -1,3 +1,6 @@
|
||||
1225. [func] dns_message_setopt() no longer requires that
|
||||
dns_message_renderbegin() to have been called.
|
||||
|
||||
1234. [bug] 'rrset-order' and 'sortlist' should be additive
|
||||
not exclusive.
|
||||
|
||||
|
@ -15,7 +15,7 @@
|
||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: message.h,v 1.108 2002/02/20 03:34:32 marka Exp $ */
|
||||
/* $Id: message.h,v 1.109 2002/03/11 01:59:16 marka Exp $ */
|
||||
|
||||
#ifndef DNS_MESSAGE_H
|
||||
#define DNS_MESSAGE_H 1
|
||||
@ -975,9 +975,8 @@ dns_message_setopt(dns_message_t *msg, dns_rdataset_t *opt);
|
||||
*
|
||||
* Requires:
|
||||
*
|
||||
* 'msg' is a valid message with rendering intent,
|
||||
* dns_message_renderbegin() has been called, and no sections have been
|
||||
* rendered.
|
||||
* 'msg' is a valid message with rendering intent
|
||||
* and no sections have been rendered.
|
||||
*
|
||||
* 'opt' is a valid OPT record.
|
||||
*
|
||||
|
@ -15,7 +15,7 @@
|
||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: message.c,v 1.210 2002/02/28 05:13:57 marka Exp $ */
|
||||
/* $Id: message.c,v 1.211 2002/03/11 01:59:15 marka Exp $ */
|
||||
|
||||
/***
|
||||
*** Imports
|
||||
@ -2411,7 +2411,6 @@ dns_message_setopt(dns_message_t *msg, dns_rdataset_t *opt) {
|
||||
REQUIRE(DNS_MESSAGE_VALID(msg));
|
||||
REQUIRE(opt->type == dns_rdatatype_opt);
|
||||
REQUIRE(msg->from_to_wire == DNS_MESSAGE_INTENTRENDER);
|
||||
REQUIRE(msg->buffer != NULL);
|
||||
REQUIRE(msg->state == DNS_SECTION_ANY);
|
||||
|
||||
msgresetopt(msg);
|
||||
|
Loading…
x
Reference in New Issue
Block a user