Commit 6b5a6fbe authored by Bob Halley's avatar Bob Halley
Browse files

only set AD if they asked for DNSSEC

parent f26ab813
569. [func] The DNSSEC AD bit will not be set on queries which
have not requested a DNSSEC response.
568. [func] Add sample simple database drivers in contrib/sdb.
567. [bug] Setting the zone transfer timeout to zero caused an
......
......@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: query.c,v 1.152 2000/11/16 19:20:08 tale Exp $ */
/* $Id: query.c,v 1.153 2000/11/20 17:53:35 halley Exp $ */
#include <config.h>
......@@ -3418,12 +3418,14 @@ ns_query_start(ns_client_t *client) {
/*
* Set AD. We need only clear it if we add "pending" data to
* a response.
*
* XXX Note: the way AD is set will be changing in the near
* future.
*/
message->flags |= DNS_MESSAGEFLAG_AD;
if (WANTDNSSEC(client))
message->flags |= DNS_MESSAGEFLAG_AD;
qclient = NULL;
ns_client_attach(client, &qclient);
query_find(qclient, NULL);
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment