summaryrefslogtreecommitdiff
path: root/usr.sbin/bind/bin/named/query.c
diff options
context:
space:
mode:
authorJakob Schlyter <jakob@cvs.openbsd.org>2006-09-05 14:03:27 +0000
committerJakob Schlyter <jakob@cvs.openbsd.org>2006-09-05 14:03:27 +0000
commit90ec522ce7f7d756d999f5a47dce83097db01c1e (patch)
treedcb5db423946833add000eecdca9a28c0a77a3e3 /usr.sbin/bind/bin/named/query.c
parentbe0c613399e981848fe23e3db2248471840759f8 (diff)
security update to BIND 9.3.2-P1. ok miod@ and deraadt@
Diffstat (limited to 'usr.sbin/bind/bin/named/query.c')
-rw-r--r--usr.sbin/bind/bin/named/query.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bind/bin/named/query.c b/usr.sbin/bind/bin/named/query.c
index 4f805516aad..7a509b5df44 100644
--- a/usr.sbin/bind/bin/named/query.c
+++ b/usr.sbin/bind/bin/named/query.c
@@ -2393,7 +2393,7 @@ query_find(ns_client_t *client, dns_fetchevent_t *event, dns_rdatatype_t qtype)
is_zone = ISC_FALSE;
qtype = event->qtype;
- if (qtype == dns_rdatatype_rrsig)
+ if (qtype == dns_rdatatype_rrsig || qtype == dns_rdatatype_sig)
type = dns_rdatatype_any;
else
type = qtype;
@@ -2434,7 +2434,7 @@ 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)
+ if (qtype == dns_rdatatype_rrsig || qtype == dns_rdatatype_sig)
type = dns_rdatatype_any;
else
type = qtype;