mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-02 07:35:26 +00:00
1225. [func] dns_message_setopt() no longer requires that
dns_message_renderbegin() to have been called.
This commit is contained in:
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
|
1234. [bug] 'rrset-order' and 'sortlist' should be additive
|
||||||
not exclusive.
|
not exclusive.
|
||||||
|
|
||||||
|
@@ -15,7 +15,7 @@
|
|||||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
* 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
|
#ifndef DNS_MESSAGE_H
|
||||||
#define DNS_MESSAGE_H 1
|
#define DNS_MESSAGE_H 1
|
||||||
@@ -975,9 +975,8 @@ dns_message_setopt(dns_message_t *msg, dns_rdataset_t *opt);
|
|||||||
*
|
*
|
||||||
* Requires:
|
* Requires:
|
||||||
*
|
*
|
||||||
* 'msg' is a valid message with rendering intent,
|
* 'msg' is a valid message with rendering intent
|
||||||
* dns_message_renderbegin() has been called, and no sections have been
|
* and no sections have been rendered.
|
||||||
* rendered.
|
|
||||||
*
|
*
|
||||||
* 'opt' is a valid OPT record.
|
* 'opt' is a valid OPT record.
|
||||||
*
|
*
|
||||||
|
@@ -15,7 +15,7 @@
|
|||||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
* 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
|
*** Imports
|
||||||
@@ -2411,7 +2411,6 @@ dns_message_setopt(dns_message_t *msg, dns_rdataset_t *opt) {
|
|||||||
REQUIRE(DNS_MESSAGE_VALID(msg));
|
REQUIRE(DNS_MESSAGE_VALID(msg));
|
||||||
REQUIRE(opt->type == dns_rdatatype_opt);
|
REQUIRE(opt->type == dns_rdatatype_opt);
|
||||||
REQUIRE(msg->from_to_wire == DNS_MESSAGE_INTENTRENDER);
|
REQUIRE(msg->from_to_wire == DNS_MESSAGE_INTENTRENDER);
|
||||||
REQUIRE(msg->buffer != NULL);
|
|
||||||
REQUIRE(msg->state == DNS_SECTION_ANY);
|
REQUIRE(msg->state == DNS_SECTION_ANY);
|
||||||
|
|
||||||
msgresetopt(msg);
|
msgresetopt(msg);
|
||||||
|
Reference in New Issue
Block a user