Fix botch in determining if auth query is local.

This commit is contained in:
Simon Kelley committed 2013-10-21 21:47:03 +01:00
1 parent 93bafe619d
commit 6008bdbbc1
2 files changed
+17 -15

No files matched your search

+1 -1
View File
@@ -110,7 +110,7 @@ size_t answer_auth(struct dns_header *header, char *limit, size_t qlen, time_t n
if (ntohs(header->qdcount) == 0 || OPCODE(header) != QUERY )
return 0;
/* determine end of question section (we put answers there) */
if (!(ansp = skip_questions(header, qlen)))
return 0; /* bad packet */