summaryrefslogtreecommitdiff
path: root/src/or/dnsserv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/dnsserv.c')
-rw-r--r--src/or/dnsserv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/dnsserv.c b/src/or/dnsserv.c
index 36d072110d..1f964780e9 100644
--- a/src/or/dnsserv.c
+++ b/src/or/dnsserv.c
@@ -69,7 +69,7 @@ evdns_server_callback(struct evdns_server_request *req, void *_data)
"handle one question at a time for now. Skipping the extras.");
}
for (i = 0; i < req->nquestions; ++i) {
- if (req->questions[i]->class != EVDNS_CLASS_INET)
+ if (req->questions[i]->dns_question_class != EVDNS_CLASS_INET)
continue;
switch (req->questions[i]->type) {
case EVDNS_TYPE_A: