mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-11 07:40:00 -04:00
update message reply support
This commit is contained in:
parent
39fba32b02
commit
996028142c
1 changed files with 2 additions and 3 deletions
|
|
@ -343,8 +343,6 @@ msginitprivate(dns_message_t *m)
|
|||
m->reserved = 0;
|
||||
m->buffer = NULL;
|
||||
m->need_cctx_cleanup = 0;
|
||||
m->header_ok = 0;
|
||||
m->question_ok = 0;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
@ -356,6 +354,8 @@ msginit(dns_message_t *m)
|
|||
{
|
||||
msginitheader(m);
|
||||
msginitprivate(m);
|
||||
m->header_ok = 0;
|
||||
m->question_ok = 0;
|
||||
}
|
||||
|
||||
static inline void
|
||||
|
|
@ -1601,7 +1601,6 @@ dns_message_reply(dns_message_t *msg, isc_boolean_t want_question_section) {
|
|||
unsigned int first_section;
|
||||
|
||||
REQUIRE(DNS_MESSAGE_VALID(msg));
|
||||
REQUIRE(msg->from_to_wire == DNS_MESSAGE_INTENTPARSE);
|
||||
REQUIRE((msg->flags & DNS_MESSAGEFLAG_QR) == 0);
|
||||
|
||||
if (!msg->header_ok)
|
||||
|
|
|
|||
Loading…
Reference in a new issue