mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
[master] minor cleanup
This commit is contained in:
parent
e9ed929fd1
commit
54231cf082
1 changed files with 3 additions and 13 deletions
|
|
@ -6485,6 +6485,9 @@ query_find(ns_client_t *client, dns_fetchevent_t *event, dns_rdatatype_t qtype)
|
|||
is_zone = ISC_FALSE;
|
||||
is_staticstub_zone = ISC_FALSE;
|
||||
|
||||
if (qtype == dns_rdatatype_rrsig || qtype == dns_rdatatype_sig)
|
||||
type = dns_rdatatype_any;
|
||||
|
||||
dns_clientinfomethods_init(&cm, ns_client_sourceip);
|
||||
dns_clientinfo_init(&ci, client, NULL);
|
||||
|
||||
|
|
@ -6570,11 +6573,6 @@ query_find(ns_client_t *client, dns_fetchevent_t *event, dns_rdatatype_t qtype)
|
|||
sigrdataset = event->sigrdataset;
|
||||
}
|
||||
|
||||
if (qtype == dns_rdatatype_rrsig || qtype == dns_rdatatype_sig)
|
||||
type = dns_rdatatype_any;
|
||||
else
|
||||
type = qtype;
|
||||
|
||||
if (DNS64(client)) {
|
||||
client->query.attributes &= ~NS_QUERYATTR_DNS64;
|
||||
dns64 = ISC_TRUE;
|
||||
|
|
@ -6671,14 +6669,6 @@ query_find(ns_client_t *client, dns_fetchevent_t *event, dns_rdatatype_t qtype)
|
|||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* If it's a SIG query, we'll iterate the node.
|
||||
*/
|
||||
if (qtype == dns_rdatatype_rrsig || qtype == dns_rdatatype_sig)
|
||||
type = dns_rdatatype_any;
|
||||
else
|
||||
type = qtype;
|
||||
|
||||
restart:
|
||||
CTRACE(ISC_LOG_DEBUG(3), "query_find: restart");
|
||||
want_restart = ISC_FALSE;
|
||||
|
|
|
|||
Loading…
Reference in a new issue